Following on from my post The Putty Tunnel If you need to create an ssh tunnel on a browser that doesn’t have foxy proxy installed then here is an alternative way to do it. I favour Firefox but it should work similarly on less favourable browsers 🙂
Putty / Tutty
- Create an ssh session to CM
- select SSH / Tunnel
- In source port put a number i.e. 9080 click dynamci and add.
- Click Session and save to you CM connection
- Open and login to CM once at the command line leave it open.
- goto options / advance / network tab /settings
- change from no proxy to manual proxy
- add 127.0.0.1 and your port you created earlier i.e 9080 then click ok
** Remember ot go back in the options / advanced / network / settings and click no proxy and ok to disable it again for normal browsing when finished. **
** AMENDED **
Using putty and chrome (or chrome alternative I tend to use Brave) to tunnel across to web pages. (used to use firefox but it doesnt work anymore)
Download foxy proxy and add it to your browser
In putty on your cm connection go to SSH / Tunnels and enter a source port i.e 9080 and then click on Dynamic and save it your CM session.
Now open Chrome and right click on the foxy proxy icon at the top of the browser and click options.
Click add new proxy
In the Host or IP Address enter 127.0.0.1 in the Port enter your port number you entered in putty i.e 9080 and then click SOCKS proxy and ok
Now double click on your new entry
Give it a name i.e. Tunnel and change the colour so you can distinguish it, then click on the URL Patterns tab.
For each ip address pattern you want to connect to add a new URL pattern for example for 10.x.x.x addresses I enter 10.* for the name and *://10.* then click ok. This will allow we to connect to anything in that range once I have a successful tunnel open to CM.
Now open putty and connect to your CM session and login. Leave the session open. In your Chrome brower right click on the foxy proxy icon and select your new tunnel proxy. Enter the address of the device you are trying to connect to and if it is working you should see the foxy proxy icon spin.