SSH Local Port zu Remote Port Umleitung: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| (Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
| − | ;Alice | + | ;Alice ist ein Client hinter eine Firewall |
alice port 9999 ---> bob port 8888 | alice port 9999 ---> bob port 8888 | ||
| − | ; | + | ;Auf Alices Rechner |
*ssh -4 -f -N bob@bob-host -L 9999:localhost:8888 | *ssh -4 -f -N bob@bob-host -L 9999:localhost:8888 | ||
{{#drawio:ssh-local-remote}} | {{#drawio:ssh-local-remote}} | ||
| + | =Auf allen Posts= | ||
| + | *ssh -4 -f -N -L 0.0.0.0:9999:localhost:3128 bob@bobhost -p 8472 | ||
Aktuelle Version vom 19. Februar 2025, 18:43 Uhr
- 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
