|
|
linux network help
|
|
|
|
Junior Member
Join Date: Aug 2000
Location: Califon, NJ
Status:
Offline
|
|
I know this is a mac fourm, but maybe someone can help me.
I have a Netgear RP614 Router that connection my DSL modem to our home network.
I have port forwarding set up to forward ports 22(ssh) and 800(www) to point to the linux box.
However, from outside the network it appears that the ports aren't even open.
If I redirect them to my OS X computer the ports work fine.
Inside our network we can hit the linux box over port 22 and 800.
If there's anymore info you need to help me let me know.
Thanks everyone.
|
Peter Leing
17" 1.67GHz PowerBook
450MHz G4 Cube
|
|
|
|
|
|
|
|
Administrator
Join Date: Apr 2001
Location: San Antonio TX USA
Status:
Offline
|
|
Are you saying that from the outside you can't see the ports as being open, but they seem to be working? That would be a good thing. The Linksys router in that case would be properly hiding the ports to protect your LAN.
If, on the other hand, you're saying that you can see the ports when you bypass the router, but they don't work at all when you go through the router, then that's a bad thing.
Your post is kind of confusing, so I could use some enlightenment in order to help you out.
|
Glenn -----OTR/L, MOT, Tx
|
|
|
|
|
|
|
|
Junior Member
Join Date: Aug 2000
Location: Califon, NJ
Status:
Offline
|
|
In the local network (no firewall) I can connect to the computer through the ports.
With the firewall, I cannot connent to the computer through the ports. When doing a port scan from outside the firewall the ports do not show as open.
|
Peter Leing
17" 1.67GHz PowerBook
450MHz G4 Cube
|
|
|
|
|
|
|
|
Administrator
Join Date: Apr 2001
Location: San Antonio TX USA
Status:
Offline
|
|
Ok, that's something. Everything behind the router should be as available as you make it-share something, or offer it as a service, and your whole LAN should be able to see and use it.
Are you absolutely certain that your Linux machine is using the correct LAN IP? Can you post a picture of the setup screen in which you forwarded the ports? My first thought is that you're forwarding the ports to a phantom IP, or one that the Linux box isn't actually looking at.
|
Glenn -----OTR/L, MOT, Tx
|
|
|
|
|
|
|
|
Junior Member
Join Date: Aug 2000
Location: Califon, NJ
Status:
Offline
|
|
Port forwarding on firewall:
ifconfig on linux:
Code:
[root@localhost root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:10:60:91:0B:B7
inet addr:192.168.0.11 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:29722 errors:1 dropped:0 overruns:0 frame:0
TX packets:1162 errors:3 dropped:0 overruns:0 carrier:2
collisions:0 txqueuelen:100
RX bytes:2037619 (1.9 Mb) TX bytes:327183 (319.5 Kb)
Interrupt:9 Base address:0xc000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:122 errors:0 dropped:0 overruns:0 frame:0
TX packets:122 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8767 (8.5 Kb) TX bytes:8767 (8.5 Kb)
|
Peter Leing
17" 1.67GHz PowerBook
450MHz G4 Cube
|
|
|
|
|
|
|
|
Administrator
Join Date: Apr 2001
Location: San Antonio TX USA
Status:
Offline
|
|
Sure looks like it should work. I'm stumped.
|
Glenn -----OTR/L, MOT, Tx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|