Setting up Transparent TCP Proxifier (aka VPN) in Linux Can't Be Easier
Just wow, you never stop learning about Linux. You can wrap all TCP traffic transparently via an SSH channel just like that:
- Install
proxychains-ng
(alternatives includetorsocks
ortsocks
). - Set up a background persistent connection to the jump box:
ssh -D 1080 -N -f -o ServerAliveInterval=30 user@jump.box
- Create a proxychains configuration file in
~/.proxychains/proxychains.conf
:strict_chain proxy_dns tcp_read_time_out 15000 tcp_connect_time_out 8000 [ProxyList] socks5 127.0.0.1 1080
Done. Seriously.