userdoc:tt-web-browser-proxy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
userdoc:tt-web-browser-proxy [2015/07/29 11:25]
abelbeck [Establish 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 "inside" a remote AstLinux box to access the web interface of a network device.  In the old days command line browsers like 'lynx' and 'links' could get a basic task accomplished, but today a modern browser is needed to manage an IP Phone or network switch that is hidden behind the remote AstLinux firewall. There may be special situations where you would like to virtually make your web browser appear "inside" a remote AstLinux box to access the web interface of a network device.  In the old days command line browsers like 'lynx' and 'links' could get a basic task accomplished, but today a modern browser is needed to manage an IP Phone or network switch that is hidden behind the remote AstLinux firewall.
  
-In theory AstLinux VPN'can be configured to access such "hidden" remote web interfaces, but often it is not worth the trouble, or for security or access reasons, some devices may not be directly reachable via the VPN.+In theory AstLinux VPNs can be configured to access such "hidden" remote web interfaces, but often it is not worth the trouble, or for security or access reasons, some devices may not be directly reachable via the VPN.
  
 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.
Line 18: Line 18:
  
  
-To establish a local SOCKS Proxy, on your Mac in the terminal type:+To establish a local SOCKS Proxy... 
 + 
 +Go to Terminal:
  
   ssh -D5000 root@pbx   ssh -D5000 root@pbx
Line 30: Line 32:
 {{:userdoc:web-browser-proxy-firefox.jpg?nolink|Firefox Proxy}} {{:userdoc:web-browser-proxy-firefox.jpg?nolink|Firefox Proxy}}
  
-Select Manual, and add the "SOCKS Host:" entry for "localhost" and port "5000" Check "Remote DNS" if you also want DNS proxied.+Select "Manual ...", and add the "SOCKS Host:" entry for "localhost" and port "5000" Check "Remote DNS" if you also want DNS proxied.
  
 Click "OK" Click "OK"
Line 36: Line 38:
 Open a new Firefox window, and enter "192.168.101.1" or some unique address as seen by "pbx" You should be able to access any web enabled device that "pbx" can see.  If you have problems, look at your Terminal window for error messages. Open a new Firefox window, and enter "192.168.101.1" or some unique address as seen by "pbx" You should be able to access any web enabled device that "pbx" can see.  If you have problems, look at your Terminal window for error messages.
  
 +!!Note ->!! Make sure that you don't have any conflicting "Proxy add-on extensions" active in Firefox, that could interfere with the standard proxy configuration!
 + 
 ===== Disconnect local SOCKS Proxy ===== ===== Disconnect local SOCKS Proxy =====
  
Line 51: Line 55:
  
 \\ \\
-!!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.+!!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. "Toggle Proxy" for Firefox)  
 + 
 +Now for Firefox + Chrome "MM3-ProxySwitch" 
  
 +https://proxy-offline-browser.com/ProxySwitch/
  
  • userdoc/tt-web-browser-proxy.1438187149.txt.gz
  • Last modified: 2015/07/29 11:25
  • by abelbeck