location: Diff for "ProxyBySsh"

Institute of Mathematics - PublicMathWiki:

Differences between revisions 5 and 6
Revision 5 as of 2020-04-10 09:07:25
Size: 1271
Editor: crose
Comment:
Revision 6 as of 2020-04-10 09:14:37
Size: 1276
Editor: crose
Comment:
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
ssh -C -D <I-MATH account>@ssh.math.uzh.ch ssh -C -D 1080 <I-MATH account>@ssh.math.uzh.ch

(Web) Proxy by SSH

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

ssh -C -D 1080 <I-MATH account>@ssh.math.uzh.ch
  • Tell the browser to use the new proxy connection. To use the I-MATH intenal DNS Server (necessary get access to hostnames that are only known inside of I-MATH), use the SOCKS5 protocol, incl. DNS forward.
  • Google Chrome
    • google-chrome --proxy-server="socks5://localhost:1080"

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

  • Opera
    • 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':

ff-proxy.png

PublicMathWiki: ProxyBySsh (last edited 2021-02-04 16:23:12 by eseide)