2009-07-20

tunneling with socat

Socat is a command line based utility that establishes two bidirectional byte streams and transfers data between them. Really good for tunneling!

Simple example:
You need to be root to establish low-port connectiosn
socat TCP-LISTEN:23,fork,bind=192.168.150.99 TCP4:192.168.157.254:23

port to bind on, fork it, ip to bind on, target:port

No comments:

Post a Comment