LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   IPTABLES NAT Gateway, No Access from the inside? (https://www.linuxquestions.org/questions/linux-networking-3/iptables-nat-gateway-no-access-from-the-inside-222254/)

nweaver916 08-25-2004 12:05 PM

IPTABLES NAT Gateway, No Access from the inside?
 
I have the following setup:

Internal--->Gateway (RH9 Nat)---->Universe


I can...

access the universe from my internal machine
access the univers from my gateway machine
access my gateway machine from the universe (SSH, FTP, HTTP)
get an IP address for my internal machine from my Gateway machine

I cannot...

access the Gateway machine from the internal machine (SSH, HTTP, FTP) (using internal ip and external ip)
access (mount) shares from my internal machine on my gateway machine
ping from my internal machine to the gateway (not sure if it should, think my F/W drops icmp)

Internal=Windows XP Pro machine

Gateway= RH9 with IPTABLES (sorry, first post, can't link, add h t t p to the front)
24.119.4.86/iptablesL (IPTABLES -L output)
24.119.4.86/rc.firewall (Script that is run at bootup to setup nat and firewall rules)

Apache and SSH (not sure about ftp) are listening on both interfaces.

I would like to be able to access HTTP, SSH, and FTP from both sides of the network, and have tried (unsucessfully) many time to edit my script. Any ideas?

Thanks!!

chenry3 08-27-2004 02:12 PM

What do your iptables rules look like?

-Chris

nweaver916 08-27-2004 03:46 PM

I found the problem. During my rc.firewall script, I had not changed my network settings. It was enough for nat, but not to connect to local stuff.


All times are GMT -5. The time now is 04:30 AM.