This is a discussion on ERROR: unable to connect to remote host, from remote host - Routers ; When my PC connects, it downloads the status page from my router, gets the router's external IP, and uploads that to a site. If I ssh out to a shell provider, I can access connect to that site, and connect ...
When my PC connects, it downloads the status page from my
router, gets the router's external IP, and uploads that to a
site. If I ssh out to a shell provider, I can access connect
to that site, and connect to the apache2 or ssh servers running
on my machine since ports are forwarded to my machine. If I try
to connect directly, I get "ERROR: unable to connect to remote
host," I have to use localhost or 127.0.0.1 to connect directly.
I'm hoping to remedy this, as I don't see why I shouldn't be able
to connect to my router's external IP, but routing isn't my strong
suit, and I'm at a loss.
Router (Westell VersaLink 327W)
Address Subnet Mask Name
127.0.0.1 255.0.0.0 lo0
192.168.1.1 255.255.255.0 eth0
184.108.40.206 255.255.255.255 mainPPP
Network Routing Table
Destination Subnet Mask Gateway Interface Metric Rip
0.0.0.0 0.0.0.0 220.127.116.11 mainPPP 0 N/A
192.168.1.0 255.255.255.0 192.168.1.1 eth0 0 N/A
Host Routing Table
Destination Gateway Interface Metric Rip
18.104.22.168 127.0.0.1 lo0 0 N/A
127.0.0.1 127.0.0.1 lo0 0 N/A
192.168.1.1 127.0.0.1 lo0 0 N/A
eth0 Link encap:Ethernet HWaddr 00:20:78:1D:50:36
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
default dsl 0.0.0.0 UG 0 0 0 eth0
The most valuable gift you can give to another is a good example.