SSH from private to public IP: Impossible??

2004-10-05 Thread Michael Alipio
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?



__
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SSH from private to public IP: Impossible??

2004-10-05 Thread Konrad Heuer

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, [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SSH from private to public IP: Impossible??

2004-10-06 Thread Alex de Kruijff
On Tue, Oct 05, 2004 at 11:00:11PM -0700, 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?

So you're home PC has a public IP and you work PC has a private IP and
is behind a NAT router? This doesn't cause problems for ssh. It more
likly a firewall problem somewhere. Either you're firewall of that of
the companie.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SSH from private to public IP: Impossible??

2004-10-06 Thread Bart Silverstrim
On Oct 6, 2004, at 11:15 AM, Alex de Kruijff wrote:
On Tue, Oct 05, 2004 at 11:00:11PM -0700, 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?
So you're home PC has a public IP and you work PC has a private IP and
is behind a NAT router? This doesn't cause problems for ssh. It more
likly a firewall problem somewhere. Either you're firewall of that of
the companie.
Maybe I missed something in the thread, but did the OP ever say he set 
up port forwarding for port 22 to his internal computer?

-Bart
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"