Domain Names/Static IP
Back to Top

Remote access to a linux computer through Comcast Business Gateway

SOLVED
Highlighted
Leo_Simon
New Member

Remote access to a linux computer through Comcast Business Gateway

I have set up a new linux computer behind a comcast business gateway.  I have a static IP adress, 75.XXX.YY.254.  Port forwarding is enabled to the ip address of the computer, 10.1.10.135.     With my previous computer this setup enabled me to log in remotely using ssh.    Now, when I try to log in, i get the error message "no route to host", even though traceroute can see the address of the exernal modem, 

 

traceroute to 75.XXX.YY.253 (75.XXX.YY.253), 30 hops max, 60 byte packets
1 75-XXX-YY-253-SFBA.hfc.comcastbusiness.net (75.XXX.YY.253) 3.168 ms 3.048 ms 3.026 ms

 

I've set up /etc/ssh/sshd_config to all port forwarding.

 

Could anybody suggest what the problem might be?

 

Thanks very much for any suggestions.

Accepted Solution

Re: Remote access to a linux computer through Comcast Business Gateway

For SSH to work on a Linux machine behind a NAT router, you will need to port forward TCP port 22 to the internal LAN IP address of your Linux machine (in your case 10.1.10.135), and to connect to it from other locations on the internet you will need to use the global static IP configured on the router.

 

Can you please clarify:

 

-Is your Linux machine connected to a separate router (whose WAN is configured with your Comcast-provided static IP), or is the Linux machine connected directly to the business gateway?

 

-What do you mean when you say "I've set up /etc/ssh/sshd_config to all port forwarding."?

View solution in context
Tags (2)
1 REPLY
Trusted Forum Contributor

Re: Remote access to a linux computer through Comcast Business Gateway

For SSH to work on a Linux machine behind a NAT router, you will need to port forward TCP port 22 to the internal LAN IP address of your Linux machine (in your case 10.1.10.135), and to connect to it from other locations on the internet you will need to use the global static IP configured on the router.

 

Can you please clarify:

 

-Is your Linux machine connected to a separate router (whose WAN is configured with your Comcast-provided static IP), or is the Linux machine connected directly to the business gateway?

 

-What do you mean when you say "I've set up /etc/ssh/sshd_config to all port forwarding."?

Discussion Stats
  • 1 reply
  • 719 views
  • 0 kudos
  • 2 in conversation