you'll have to use port forwarding. There is a way to setup a port
forwarding on the router, i would be hesitent to use port 22 on the
router, since you will get attacked all the time. So, perhaps
2222 would map to port 22 on your machine (it now better have a fixed
IP) behind that firewall.

Ideally you would have something running on that machine that does some
time delay check. E.g. on the first attempt to connect to port 22 it would
fail, but if you try it again within 30 secs it will work. Depending all
on your level of paranoia about it. Or you could just allow traffic from
certain origins. There's lot of fancy scripts that setup iptables with
these properties.

peter

On Wed, 20 Sep 2006, J. Scott Olsson wrote:

All,

Sorry for my ignorance.

Question: I have a linux box sitting behind a wireless router at home
(the router instantiates the DSL connection and gives our IP's to my
home machines via dhcp).  How can I ssh into one of those machines
from outside?

thanks in advance,
Scott

Reply via email to