Example:
$ tcp2socksd tcp://127.0.0.1:1081 socks5h://127.0.0.1:1080 tcp://localhost:554
This command launch a proxy server that:
- listens TCP connections on
127.0.0.1:1081
. - proxies the connection to a SOCKS proxy on
127.0.0.1:1081
. - routes the connection to
localhost:554
.