SETUP SSH TUNNEL FOR INTERNET

Description of your first forum.
Post Reply
admin
Site Admin
Posts: 22
Joined: Sat Jun 20, 2020 1:29 pm

SETUP SSH TUNNEL FOR INTERNET

Post by admin »

If your computer is behind a firewall and internet is inaccessible, you can use dynamic port forward to access internet from outside using socks proxy.

The procedure is as follows:

1. In computer behind firewall open putty, select SSH-> Tunnel. create a dynamic port forward suppose say port 8080. It will show D8080 when added.
2. SSH to server outside firewall with proper authentication.
3. When connected port 8080 is forwarded from remote SSH server having internet to computer behind firewall.
4. A default socks5 proxy is formed with address "localhost:8080".
5. By default chrome will not detect socks5 proxy.
6. Open chrome from command prompt with following arguments.
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" ^
--user-data-dir="%USERPROFILE%\proxy-profile" ^
--proxy-server="socks5://localhost:8080"
7. An user profile will be created and chrome now can use socks5 proxy.


Thanks
Admin

Post Reply