Re: loging in to a LAN computer via ssh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


> If you use iptables as firewall, add this rule:

> /sbin/iptables -t nat -A PREROUTING -p tcp -s xxx.yyy.zzz.ttt --dport \
> 10022 -j DNAT --to-destination

> the instruction -p tcp -s xxx.yyy.zzz.ttt is not necessary, it is only
> if you allow a given machine to log on your gateway.

> You can add in your .ssh/config file:

> Host name-of-machine-behind-gw
>         HostName  name-of-gateway
>         HostKeyAlias name-of-machine-behind-gw
>         Port 10022

> and just type ssh [email protected]

Thanks! That sounds great!

AIKIDO TANREN DOJO  -  Poland - Warsaw - Mokotow - Ursynow - Natolin
info: phone: +48506613147 email: [email protected]

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux