location: ProxyBySsh

Institute of Mathematics - PublicMathWiki:

Revision 11 as of 2020-04-11 06:43:02

Clear message

(Web) Proxy by SSH

To get Web access to I-MATH intranet webserver it's possible to setup a SOCKS SSH proxy channel. This makes

Start SSH Proxy

Start the Browser

The proxy configuration can be done:

  • on the OS - not described here.
  • via commandline - described here for Google Chrome and Opera.
  • inside the browser via GUI - described here for firefox.

To use the I-MATH internal DNS Server (necessary to get access to hostnames that are only known inside of I-MATH), use the SOCKS5 protocol, incl. DNS forward.

For Google Chrome or Opera, open a second terminal and type the following command

Browser

Command

Google Chrome

Linux: google-chrome --proxy-server="socks5://localhost:1080"
Mac OS X: /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --proxy-server="socks5://localhost:1080"

Opera

Linux: opera --proxy-server="socks5://localhost:1080"
Mac OS X: /Applications/Opera.app/Contents/MacOS/Opera --proxy-server="socks5://localhost:1080"

Firefox

* There is no officially option '-proxy-server' for the commandline
* Start firefox, open 'settings', navigate to 'network' > screenshot

ff-proxy.png