Netzwerk: Unterschied zwischen den Versionen
Aus wiki
(Die Seite wurde neu angelegt: «== SSH == === Tunneling === ssh -L 3389:192.168.1.100:3389 root@boeby.dyndns.org») |
|||
| (Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
| Zeile 2: | Zeile 2: | ||
=== Tunneling === | === Tunneling === | ||
ssh -L 3389:192.168.1.100:3389 root@boeby.dyndns.org | ssh -L 3389:192.168.1.100:3389 root@boeby.dyndns.org | ||
| + | |||
| + | === Port redirect === | ||
| + | iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 943 -j REDIRECT --to-port 1300 | ||
| + | |||
| + | === removal from known hosts === | ||
| + | f = file | ||
| + | R = remote Host | ||
| + | ssh-keygen -f "/home/christof/.ssh/known_hosts" -R 192.168.1.11 | ||
Aktuelle Version vom 19. Januar 2015, 10:41 Uhr
Inhaltsverzeichnis
SSH
Tunneling
ssh -L 3389:192.168.1.100:3389 root@boeby.dyndns.org
Port redirect
iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 943 -j REDIRECT --to-port 1300
removal from known hosts
f = file R = remote Host ssh-keygen -f "/home/christof/.ssh/known_hosts" -R 192.168.1.11