Cleverly design PuTTY as a secure proxy for Windows
Summary:PuTTY may be the most popular SSH client tool in Microsoft operating systems, and today we will explore how to implement a secure proxy using PuTTY in…
This book is available as an e-book in EPUB format
PayPal sponsors this website for any amount. I will send you an EPUB e-book via email. Please send me an email
Email: shuxueha@outlook.com
PayPal: https://paypal.me/zhipinglei
You can also scan the PayPal QR code below to sponsor
You can also purchase this book on Amazon: click to enter the Amazon official website
PuTTY may be the most popular SSH client tool in Microsoft operating systems, and today we will explore how to implement a secure proxy using PuTTY in Windows.
Overview
Accessing the web through public wireless networks can be dangerous as malicious attackers and identity thieves may be monitoring your web communication. There are two very simple solutions to this problem: one is to simply avoid any online activities involving login or other sensitive data (including email addresses protected from spam and phishing) transmission; The second is to use an encrypted link to the network security agent.
The proxy server is another system through which some kind of network communication can be forwarded, which makes it look like an Internet server, as if this proxy server is the real source of network communication. Compared with sending data directly from a laptop on a wireless network to the Internet, a direct encrypted link between a laptop on a wireless network without security guarantee and a proxy server on a secure network can provide a more secure channel for Web browsers.
What kind of tool is this?
This article assumes that you have installed PuTTY and Firefox browsers on a laptop with Windows platform installed, and you want to connect to a secure proxy server through this computer. This article also assumes that you have access to a computer at home or another trusted network computer running UNIX, a Linux based or UNIX like operating system, and installed OpenSSH.
The author also assumes that you have configured a trusted network and can provide SSH access from external networks. This usually involves configuring port forwarding on routers and firewalls, and the details of its settings vary depending on the router and firewall.
How to implement it?
Firstly, configure a PuTTY session connected to a UNIX/Linux system, which is the machine you will be using as a proxy server on. You need to configure the following data:
1. (Host Name (Or IP Address): Host name or IP address: If you have domain name resolution implemented through dynamic DNS services, or use other methods to access the network through domain names, then generally speaking, this can be a domain name. Of course, it can also be the IP address of a router or firewall.
2. Port is port: SSH typically uses port 22, but this depends on your port forwarding configuration on a trusted network.
3. Connection type means choosing the protocol type: select SSH.
In order to easily create these encrypted proxy sessions in the future, you may wish to give this session a name for future use. Please enter it under the "Saved Sessions" tab. But you can't click the 'Open' button yet.
Secondly, configure an SSH encrypted channel through which your HTTP requests can be forwarded to the system that will be used as a proxy server. Under the "category" tab on the left, find Connection>SSH>Tunnels, and configure the following content in the right pane:
1. Source Port: Configure the source port. Fill in the local port number on the laptop for this connection here. For example, 8080 can be used as the forwarding port for HTTP requests.
2. Destination: No need to set here. Select the Dynamic and Auto radio buttons below it.
Then click the 'Add' button to submit these encrypted channel settings. At this point, you will see a string appearing in 'Forwarded Ports',
The third step is to save the session settings to ensure that the encrypted channel settings can be easily found, and then click the "Open" button to establish a connection. In order to establish a connection, you will need to provide a valid username and password on the remote system.
Step four, configure Firefox browser to use encrypted connections. Open the "Options" dialog box from the "Tools" menu in the browser, and then select "Advanced". To ensure that "Network" is selected, click the "Settings" button and fill in the following information:
1. Configure proxies to access the Internet: Select Manual Proxy Configuration.
2. SOCKS Host: Enter 127.0.0.1 in this field.
3. Port: In the port text box of the SOCKS Host, fill in the same port number as when setting the PuTTY channel earlier, which is 8080 in this example.
Click the 'OK' button to submit the changes and exit the 'Options' dialog box. When you click the "Ok" button, the "Connection Settings" dialog box will look like this:
Finally, it was a great achievement. Afterwards, all communication accessed through the browser must flow through the proxy server via an encrypted SSH channel, providing security that ordinary wireless connections cannot match.
| High-speed VPN | Fast VPN | Preferred Accelerator VPN | Reliable VPN |
| High quality VPN | Old fashioned VPN | Stable VPN(Recommend) | Smooth VPN |

