Bc 3: Chúng ta tìm n mc Network Setting, sau ó bm vào Settings Bc 4: Chúng ta chn Manual proxy configuration và nhp các thông tin. You may also need this setting to exclude certain domains or sites from tunneling: _proxies_on : localhost, 127.0.0.1, 192.168.0.0/24. Bc 2: Chúng ta vào menu góc trên bên phi, sau ó vào setting. Test it by going to or some similar site. Put localhost for the SOCKS Host, put 9999 for the port. In the last case, open it up and set these values: : 127.0.0.1 Make a socks proxy with ssh ssh -D 9999 userremoteserver Now open your Firefox preferences, go to Advanced > Network > Settings. If you need your DNS requests to be tunneled as well (if they are not, your DNS lookups will reveal what websites you are trying to visit), you can just check on "Remote DNS" or as well do this entire configuration in about:config. In the firefox URL bar, type about:config and press enter to access advanced settings Search for socks and set the following settings: Search for proxy. make sure you only fill out the SOCKS field! Since your proxy is on the same system, you can use localhost or 127.0.0.1 to point back at whatever port you set it to on the same system. In Firefox 29 (explained here as an example), this is achieved by going to the menu (the three sausages in the top right), followed by Preferences > Advanced > Network > (Connection) > Settings. In firefox type this in your address bar: about:config Click that you promise to be careful. When your SOCKS server is up and running, you simply need to make sure that your application (usually a web browser) is trying to connect to the local SOCKS proxy, and not the regular Internet. -p specifies what port to use obviously this is defaulted to 22 so the statement above is pointless, but included for clarity.-N tells ssh that no commands will be sent ( -f complains if we don’t specify this).-q enables "Quiet mode", since the purpose here is only to tunnel we don't really care about error output and such.Example: Mozilla Firefox browser Go to 'Tools' menu -> 'Options' Go to 'Advanced' screen -> 'Network' tab In the 'Connection' section, click the 'Settings. -f forks the process into the background. lookups through the proxy (SOCKS 4a protocol) or use Method 2 below.-D 1337 tells ssh to launch a SOCKS server on port 1337 locally.Click the OK button to commit the changes.Done!ĥ. open the about:config page, and change _remote_dns to true.Ĭheck screenshot for help:That’s all enjoy your private proxy.The ssh binary that you use when you connect to a server running ssh supports running a SOCKS proxy out of the box, with the -D flag.Port: For the SOCKS Host, fill in the same port number you specified in the PuTTY tunneling dialog -7070 in the above example.SOCKS Host: Enter 127.0.0.1 into the text field.Configure proxies to access the Internet: Select Manual Proxy Configuration.Make sure the Network tab is selected, and click the Settings button. After login, you winn be able to use the connection as SSH Tunnel, you can use it as SOCKS proxy now.Ĭonfigure Firefox use this SSH SOCKS proxy: Now on you can use this connection to login to your server. You will have to provide a valid username and password on the remote system to establish the connection.(If you use justhost webhosting the username and password is your cPanel account and password.) go back to the “ Session” tab at the top of the menu, give the new connection a name and click on the “ Save” button.after saving the session settings again to make sure the encrypted tunnel settings will be retrievable, click the Open button to establish the connection. This may be the domain name for your network, if you have domain name resolution via a dynamic DNS service or other means set up to allow access to your network via a domain name, or it may be the IP address for your router/firewall.Ģ.Fill inPort: SSH normally uses port 22, but this may be different, depending on how port forwarding may be set up on your trusted network.ģ.Add Source Port: Open the Connection > SSH > Tunnels.Fill in a port number that will be used locally,For instance, you might use port 7070 for forwarded HTTP requests.ĥ. On the “Host Name (or IP address)” field, type the hostname or IP address of your remote server. Special Discount $50 coupon, “50 PPR” ($ 50 OFF for all Private Proxy User!)ġ. Configure Host Name (Or IP Address).Run PuTTY, on the “PuTTY Configuration” window. (dedicated server, vps or shell account) We recommend use cheap webhosting that support SSH. In this tutorial I’ll demonstrate how to use Putty on Microsoft Windows PC and SSH tunnel that I can use as a secure SOCKS proxy on your computer.ġ. How to using Putty and SSH tunnel as secure SOCKS proxy
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |