This program allows arbitrary TCP connections to be forwarded via a SOCKS4 proxy. It is intended for use with OpenSSH's implementation of dynamic port forwarding.
To use it, run make and you should end up with socksproxy.so. You should set the following environment variables, then run your program.
Variable | Function | Default |
---|---|---|
LD_PRELOAD | The full path to socksproxy.so | No default |
SOCKS_PROXY_NETWORK | The range of addresses that should be tunnelled in the form: aa.bb.cc.dd/nn | No default |
SOCKS_PROXY_USERNAME | The username to offer to the SOCKS4 proxy. | $USER |
SOCKS_PROXY_PORT | The port number of the SOCKS4 proxy. | 1080 |
LOCALDOMAIN
to override the client's behaviour.Source: | socksproxy-0.4.tar.bz2 Browse sources |
---|---|
Binaries: | socksproxy.so 32bit socksproxy.so 64bit |
Peter Benie <peterb@chiark.greenend.org.uk>
Linux