SSH Local Port zu Remote Port Umleitung

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Alice ist ein Client hinter eine Firewall

alice port 9999 ---> bob port 8888

Auf Alices Rechner
  • ssh -4 -f -N bob@bob-host -L 9999:localhost:8888

Auf allen Posts

  • ssh -4 -f -N -L 0.0.0.0:9999:localhost:3128 bob@bobhost -p 8472