Cannot access Linux computer from outside LAN
- From: Philippe Signoret <philippe.signoret@xxxxxxxxx>
- Date: 30 May 2007 14:26:11 -0700
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.
- The Linux computer has two NICs, but currently one (eth1) is not
connected to anything.
My theory is that there is some firewall in the Linux computer denying
access from the outside world, but I don't know how to determine this.
Otherwise, it might be a problem regarding the fact that there are two
NICs on the Linux computer.
Here is the information I gathered. Let me know if you need more. I
have superuser access to the Linux computer.
$ sudo find / -name shorewall
/etc/webmin/shorewall
/usr/share/webmin/caldera/shorewall
/usr/share/webmin/shorewall
$ sudo find / -name ipchains
/usr/share/webmin/caldera/ipchains
/usr/share/webmin/mscstyle3/ipchains
$ uname -a
Linux servidor 2.6.15-27-amd64-server #1 SMP Fri Dec 8 18:02:49 UTC
2006 x86_64
GNU/Linux
$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:13:8F:4A:05:17
inet addr:192.168.3.1 Bcast:192.168.3.255 Mask:
255.255.255.0
inet6 addr: fe80::213:8fff:fe4a:517/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:965883 errors:0 dropped:0 overruns:0 frame:0
TX packets:490426 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:434741646 (414.6 MiB) TX bytes:346893125 (330.8
MiB)
Interrupt:201 Base address:0xe800
eth1 Link encap:Ethernet HWaddr 00:80:AD:00:1E:59
inet6 addr: fe80::280:adff:fe00:1e59/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:11817 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:3852126 (3.6 MiB)
Interrupt:185 Base address:0xbc00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:323 errors:0 dropped:0 overruns:0 frame:0
TX packets:323 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:32108 (31.3 KiB) TX bytes:32108 (31.3 KiB)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
.
- Follow-Ups:
- Re: Cannot access Linux computer from outside LAN
- From: Bill Marcum
- Re: Cannot access Linux computer from outside LAN
- Prev by Date: Re: forbid internet access to an application?
- Next by Date: Re: Dial-up / Dial-In Linux Server to Windows Network for Mobile Users
- Previous by thread: Howto make Samba shares available to microsoft clients via VPN
- Next by thread: Re: Cannot access Linux computer from outside LAN
- Index(es):
Relevant Pages
|