Re: Cannot access Linux computer from outside LAN



On May 31, 1:34 am, Bill Marcum <marcumb...@xxxxxxxxxxxxx> wrote:
On 30 May 2007 14:26:11 -0700, Philippe Signoret



<philippe.signo...@xxxxxxxxx> wrote:

I am having problems with my Linux computer in my LAN.

Here is the current setup:

* 2WIRE 1701HG gateway/wireless router connected to my ISP via PPPoE.
* Two Windows XP computers connected with network cable to the 2WIRE.
* Two Windows XP laptops connected wirelessly to the 2WIRE.
* One Linux computer with Ubuntu 6.06.1 LTS running 2.6.15-27-amd64-
server kernel. Right now this computer only acts as a file server.

What I want is this:

Allow a friend of mine to access via Telnet (or SSH, I couldn't care
less) the Linux computer and see if he can help me take care of the
rest of my problems. What I did was, in the 2WIRE, forward port 23 to
the Linux computer. When I attempted to connect using the public IP, I
was unable to. I installed a Telnet server on my Windows XP laptop and
changed the 2WIRE to forward port 23 to the laptop and it worked fine.
The same thing with the Apache server running on both computer.
- I can access any hosted service it when I forward to my laptop, but
not when I forward to the Linux computer.
- I CAN access the Linux through Telnet using the private IP from
inside the LAN, as well as the HTTP server.
- From the Linux computer, I CANNOT ping any website or server outside
the LAN.

Can you ping the router? Is the router your default gateway?

--
"What time is it?"
"I don't know, it keeps changing."

Yes, I can ping the router. How do I know if the router is the default
gateway? (As you might see, although I forgot to mention it on the
previous post, I am very, very new to Linux, although I am not
completely computer-illiterate...).

$ ping 192.168.3.254
PING 192.168.3.254 (192.168.3.254) 56(84) bytes of data.
64 bytes from 192.168.3.254: icmp_seq=1 ttl=255 time=3.59 ms
64 bytes from 192.168.3.254: icmp_seq=2 ttl=255 time=1.09 ms
64 bytes from 192.168.3.254: icmp_seq=3 ttl=255 time=0.480 ms
64 bytes from 192.168.3.254: icmp_seq=4 ttl=255 time=1.23 ms
64 bytes from 192.168.3.254: icmp_seq=5 ttl=255 time=0.521 ms
....


.



Relevant Pages