SSH from private to public IP: Impossible??

Konrad Heuer kheuer2 at gwdg.de
Tue Oct 5 23:15:08 PDT 2004


On Tue, 5 Oct 2004, Michael Alipio wrote:

> Good Day,
>   I used ssh to log-in remotely from work to my home
> pc which already obtained a temporary ip address from
> my isp, however, I failed to connect. Is it because I
> am ssh'ing using a pc with a private ip? I tried
> pinging my remote pc but no single packet returned..
> I'm thinking that any other service such as ftpd or
> httpd will not work also, though I've not tried it
> yet. I've tried ftp'ing my home pc but using a public
> ip and it worked.. I'm not sure if it will still work
> from a private ip computer.
> Any idea?

What do you mean by private ip? Something like 192.168.x.y? If so, you
can't connect, that's true, if there's not a nat gateway substituting the
private address by its public address in every ip packet.

If you can access web pages from your private ip system, that's probably
because of a proxy server in your network which fetches pages from the
outside if required from within the local network.

Regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2 at gwdg.de


More information about the freebsd-questions mailing list