Setting up an HTTP proxy via socks tunnel

Source: Internet
Author: User

1. Create tunnel on the server using SSH

SSH 10080 -f-c-q-n [email protected]112.34. 113.35  -D: Let SSH on the specified port (1025-65536-----n:tells SSH That no command would be sent once the tunnel is up# the last specified is the SSH user and the currently established tunnel server IP

Run in the background after execution, you can view the process through PS

2. Configure SOCKS5 proxy locally via putty

Open Putty,

1) Session, fill in the Host Name is just the server IP, port is 22 (note that this is not related to the port set by the service)
2) Saved session set a name, save a bit
3) Connection, SSH-tunnels,
Fill in the source port:8888 this is the local SOCKS5 proxy port
Tick Auto, Dynamic
Click Add
4) Back to session, Save a bit
5) Click Open
6) Login with username password

3. Configure the browser to access the SOCKS5 proxy via the local 127.0.0.1:8888

Setting up an HTTP proxy via socks tunnel

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.