You're replying to a comment by mwicat.

mwicat Permalink
May 13, 2010, 08:10

when speaking about source host ACLs, socat utility fits perfectly in this task:
socat tcp-listen:4444,range=192.168.100.1/32,reuseaddr,fork tcp:localhost:3333

...to relay between 0.0.0.0:4444 and localhost:3333 passing only 192.168.100.1, range=192.168.100.0/24 for whole network and finally utilize the power of tcp wrappers with:
socat tcp-listen:4444,allow-table=iplist,reuseaddr,fork tcp:localhost:3333
# iplist contents:
ALL: 192.168.100.1: ALLOW
ALL: ALL: DENY

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "rocket_216": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.