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
en:ssh:socksproxy [2020-04-02 11:03] Ignatios Souvatzisen:ssh:socksproxy [2024-02-01 12:02] (current) – 1. localhost (#109644) 2. removed login.bit... 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]]:
  
 === First step: create the tunnel === === First step: create the tunnel ===
  
-  * **Unix, MacOS-X**: ''ssh -D8888 login.cs.uni-bonn.de'' (students) or ''ssh -D8888 hera.cs.uni-bonn.de (employees)''  +  * **Unix, MacOS-X**: ''ssh -Dlocalhost:8888 username@login-stud.informatik.uni-bonn.de'' (students) or ''ssh -Dlocalhost:8888 username@login-staff.informatik.uni-bonn.de (employees)''  --- replace "username" with your user name. 
-  * **Putty running on Windows**:   {{ :de:ssh:puttysocks.png?direct&200|}} +  * **[[en:ssh:config#putty|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)+     - 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'' //8888//, ''ADD''      - In __Tunnels__: ''destination'' //dynamic//, ''source port'' //8888//, ''ADD''