jerrylinux1
03-26-2002, 10:27 AM
I have the following setup:
Machine #1
Linux Mandrake 8.1 IP address 192.168.1.2
Machine #2
windoze IP derived by linksys router DHCP (usually 192.168.1.5)
Linksys Router Gateway = 192.168.1.1 (actual IP address is given by cable company)
What works:
Machine #2 ('doze) can browse the Apache test page on Machine #1. I can use the IP address given by my cable company and have the router forward the port 80 call from Machine #2 to Machine #1. The httpd on Machine #1 seems to be running file. Both machines access the internet through the gateway with no problem.
What doesn't work:
I cannot browse the Apache test page on Machine #2 (linux) from a machine outside of my little network. If I change the router to point port 80 to the windoze box I can browse that box's web page from a remote location.
What I have tried:
I have tried using Redhat 7.2 and Mandrake 8.1 but cannot get either to except external requests.
Some mailing lists suggest flushing ipchains and resetting the firewall rules but any /sbin/ipchains command (on RH or Mandrake) gives me an error that states 'Incompatible with this kernel'.
I have tried using netconf to open up port 80.
I also get this same scenario when trying to run VNC. I can see my Linux desktop on the windoze box when running vncserver & vncviewer from behind my router. I cannot get a connection with vncviewer from a remote machine.
How do I open up machine (at least some ports) to the outside world?
http://discussions.linuxplanet.com/confused.gif
Machine #1
Linux Mandrake 8.1 IP address 192.168.1.2
Machine #2
windoze IP derived by linksys router DHCP (usually 192.168.1.5)
Linksys Router Gateway = 192.168.1.1 (actual IP address is given by cable company)
What works:
Machine #2 ('doze) can browse the Apache test page on Machine #1. I can use the IP address given by my cable company and have the router forward the port 80 call from Machine #2 to Machine #1. The httpd on Machine #1 seems to be running file. Both machines access the internet through the gateway with no problem.
What doesn't work:
I cannot browse the Apache test page on Machine #2 (linux) from a machine outside of my little network. If I change the router to point port 80 to the windoze box I can browse that box's web page from a remote location.
What I have tried:
I have tried using Redhat 7.2 and Mandrake 8.1 but cannot get either to except external requests.
Some mailing lists suggest flushing ipchains and resetting the firewall rules but any /sbin/ipchains command (on RH or Mandrake) gives me an error that states 'Incompatible with this kernel'.
I have tried using netconf to open up port 80.
I also get this same scenario when trying to run VNC. I can see my Linux desktop on the windoze box when running vncserver & vncviewer from behind my router. I cannot get a connection with vncviewer from a remote machine.
How do I open up machine (at least some ports) to the outside world?
http://discussions.linuxplanet.com/confused.gif