Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
userdoc:tt-web-browser-proxy [2015/07/29 10:42] abelbeck [Disconnect local SOCKS Proxy] |
userdoc:tt-web-browser-proxy [2021/02/26 10:00] (current) mkeuter [Disconnect local SOCKS Proxy] |
||
---|---|---|---|
Line 3: | Line 3: | ||
There may be special situations where you would like to virtually make your web browser appear " | There may be special situations where you would like to virtually make your web browser appear " | ||
- | In theory AstLinux | + | In theory AstLinux |
Assuming you have SSH access to the remote AstLinux box itself, either directly or via a VPN, you can very easily enable a local SOCKS Proxy on your web browser machine and use SSH to tunnel the proxy to your remote AstLinux box. | Assuming you have SSH access to the remote AstLinux box itself, either directly or via a VPN, you can very easily enable a local SOCKS Proxy on your web browser machine and use SSH to tunnel the proxy to your remote AstLinux box. | ||
- | The follow | + | The following |
===== Establish local SOCKS Proxy ===== | ===== Establish local SOCKS Proxy ===== | ||
+ | Modern SSH clients have built-in support for establishing a local SOCKS server which then can be tunneled to a remote SSH server. | ||
- | On your Mac in the terminal type: | + | **-D Local_Port** |
+ | |||
+ | where SSH's SOCKS server listens on port " | ||
+ | |||
+ | |||
+ | To establish a local SOCKS Proxy... | ||
+ | |||
+ | Go to Terminal: | ||
ssh -D5000 root@pbx | ssh -D5000 root@pbx | ||
- | login as normal, leave this session open, make sure you don't see any "bind: Address already in use" after the ssh login message. | + | login as normal |
+ | |||
+ | Then go to Firefox: | ||
- | Then go to Firefox: | ||
Preferences -> Advanced -> Network -> Connection: " | Preferences -> Advanced -> Network -> Connection: " | ||
{{: | {{: | ||
+ | |||
+ | Select " | ||
Click " | Click " | ||
- | Open a new Firefox window, and enter " | + | Open a new Firefox window, and enter " |
+ | |||
+ | !!Note ->!! Make sure that you don't have any conflicting "Proxy add-on extensions" | ||
+ | |||
===== Disconnect local SOCKS Proxy ===== | ===== Disconnect local SOCKS Proxy ===== | ||
- | When finished, reverse the process... | + | When finished, to disconnect the local SOCKS Proxy, reverse the process... |
Go to Firefox: | Go to Firefox: | ||
Line 38: | Line 53: | ||
Type " | Type " | ||
+ | |||
+ | \\ | ||
+ | !!Tip ->!! In order to simplify enabling and disabling the web browser proxy settings, most browsers have add-on extensions that allow quickly changing the proxy settings from the browser window without digging into Preferences each time (e.g. " | ||
+ | |||
+ | Now for Firefox + Chrome " | ||
+ | |||
+ | https:// | ||
+ |