Gemeinsame Systemgruppe IfI/b-it

You are here: aktuelles » en » ssh » socksproxy

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
en:ssh:socksproxy [2019-11-13 14:35] Ignatios Souvatzisen:ssh:socksproxy [2022-03-17 21:17] – user@ ergaenzt. Spart triviale, aber nervige chats am Abend Ignatios Souvatzis
Line 1: Line 1:
 ===== SSH dynamic (SOCKS) proxy ===== ===== SSH dynamic (SOCKS) proxy =====
  
-If you do not need a full [[en:vpn:|VPN]] but only access to internal Web services like [[en:accounts:students:manage:|renewal of a student account]] or [[en:vpn:profiles|creation of renewal of a VPN profile/certificate]], you can use a dynamic proxy via SSH:+If you do not need a full [[en:vpn:|VPN]], you can use a dynamic proxy via [[en:ssh|SSH]]:
  
-  * **Unix, MacOS-X**: ''ssh -D7777 login.cs.uni-bonn.de'' (students) or ''ssh -D7777 hera.cs.uni-bonn.de (employees)''  +=== First step: create the tunnel === 
-  * **Putty running on Windows**:   {{ :de:ssh:puttysocks.png?direct&200|}} + 
-     - In __Session__: Host ''login.cs.uni-bonn.de'' (students) or ''hera.cs.uni-bonn.de'' (employees)+  * **Unix, MacOS-X**: ''ssh -D8888 username@login-stud.informatik.uni-bonn.de'' (students) or ''ssh -D8888 username@login-staff.informatik.uni-bonn.de (employees)'' or ''ssh -D8888 username@login.bit.uni-bonn.de'' (employees of b-it) --- replace "username" with your user name. 
 +  * **[[en:ssh:config#putty|Putty]] running on Windows**:   {{ :de:ssh:puttysocks.png?direct&200|}} 
 +     - In __Session__: Host ''login-stud.informatik.uni-bonn.de'' (students) or ''login-staff.informatik.uni-bonn.de'' (employees)
      - In __Connection__: open the sub-menu ''SSH''      - In __Connection__: open the sub-menu ''SSH''
-     - In __Tunnels__: ''destination'' //dynamic//, ''source port'' //7777//, ''ADD''+     - In __Tunnels__: ''destination'' //dynamic//, ''source port'' //8888//, ''ADD''
      - Then ''Open''      - Then ''Open''
 +
 +=== Second step: use the tunnel ===
 +
 +Finally, configure in your web browser ''localhost:8888'' as the Socks V5 proxy.
 +
 +This example is for ''firefox 60.esr'', English version. Other browsers and versions may look differently. Type, of course, //8888// wherever //7777// is used these pictures.
 +
 +{{:en:firefox:prefsprox0.png?direct&200|}} {{:en:firefox:prefsprox1.png?direct&400|}} {{:en:firefox:prefsprox2.png?direct&300|}}
  
  
-Finally, configure in your web browser ''localhost:7777'' as the Socks V5 proxy.