Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Enthusiast Zone > Networking > linux network help

linux network help
Thread Tools
pumpkinapo
Junior Member
Join Date: Aug 2000
Location: Califon, NJ
Status: Offline
Reply With Quote
Jun 3, 2003, 04:48 PM
 
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
     
ghporter
Administrator
Join Date: Apr 2001
Location: San Antonio TX USA
Status: Offline
Reply With Quote
Jun 3, 2003, 06:40 PM
 
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
     
pumpkinapo  (op)
Junior Member
Join Date: Aug 2000
Location: Califon, NJ
Status: Offline
Reply With Quote
Jun 3, 2003, 06:52 PM
 
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
     
ghporter
Administrator
Join Date: Apr 2001
Location: San Antonio TX USA
Status: Offline
Reply With Quote
Jun 3, 2003, 06:57 PM
 
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
     
pumpkinapo  (op)
Junior Member
Join Date: Aug 2000
Location: Califon, NJ
Status: Offline
Reply With Quote
Jun 3, 2003, 07:06 PM
 
Port forwarding on firewall:


ifconfig on linux:
Code:
[[email protected] 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
     
ghporter
Administrator
Join Date: Apr 2001
Location: San Antonio TX USA
Status: Offline
Reply With Quote
Jun 4, 2003, 07:30 PM
 
Sure looks like it should work. I'm stumped.

Glenn -----OTR/L, MOT, Tx
     
   
Thread Tools
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 10:17 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,