Work in the data center and sometimes need to access the Internet. In this case, the browser needs to use a proxy server. The access process is as follows:
Because server2 cannot directly access the Internet, while server3 can (the data center cannot directly access server3), two-step proxy is required.
Configuration process: 1 configure server2
1.1
1.2
2 configure server3
2.1 2.2 check local ports accept commections from other hosts to facilitate use by other agent clients
3. Configure the browser proxy
Select socket5 as the proxy type
Workflow:
1 server2 provides proxy port 10010 for server3. 2 server3 uses the proxy provided by server2 for login, and provides a proxy with port 10011 for external use. 3. the browser directly uses the proxy localhost: 10011 to log on to the Internet.
Result:
Putty two-step proxy access to the Internet