First of all "Hi Forum!", as this is my first post
I am using a Linksys WRT54GL with Kamikaze 7.09 on it.
In order to have a nice port forwarder I installed Socat
(http://downloads.openwrt.org/kamikaze/p … mipsel.ipk)
Everything is working fine, my simple port forwarder is this one:
socat TCP-LISTEN:360,fork TCP:123.45.2.36:80
Now I just want to accept connections from a certain IP-address, not accepting all the other ones.
I figured out, that the Socat-Option "tcpwrap" could provide what I wanted.
So I installed "lbwrap" on my OpenWRT-System and tried this command line:
socat TCP-LISTEN:360,fork,tcpwrap TCP:123.45.2.36:80
Socat returns the following error:
socat [1168] E parseopts(): unknown option "tcpwrap"
Why is this not working? Is this a version issue?
Are there other options to accept just connections from certain IP-addresses with socat?
Thanks in advance!