How to configure SSH SOCKS proxy server in Linux

Thanks to TECHIES WORLD

We can configure socks proxy server via ssh tunneling

Step1: Login to the server via ssh

Step2: Ensure “AllowTCPForwarding yes” in /etc/ssh/sshd_config

Step3: Run the below command and enter root password while prompting

# ssh -f -N -D 0.0.0.0:1080 localhost -p 22

Step4: Use the server ipaddress as proxy ip and port 1080 as proxy port in client side

Posted in Linux