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

Hi All, I like to spend time on black and white screen with linux. I love to learn new things in linux specially in virtualization. Currently I am working on OpenStack like to dig deep.

Posted in Linux

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: