mbrashear
03-30-2001, 05:26 AM
Im a Linux newbie and I am now stuck on a ipcains problem I have not been able to figure out. I have set up my Linux box as a sort of firewall and NAT with two nic cards. All of this has worked out fine by setting up ipchain rules to allow my out going web/DNS traffic and the corrisponding responses. With that I can reach the internet on the Linux box... here is where my trouble starts.
I can't get to the internet from my windows box behind the Linux box. I can see the outgoing MASQ rule match and I can see DNS requests match but the results never make it back to my windows box. Is there some kind of log that I can check (besides the ipchains -L -nv command) that can tell me why the packets are being dropped? Or am I missing some type of rule?
Thanks for any help :),
Marc
If it helps I am running Redhat 7.0 and I have set up firewall rules that MASQ my internal ips at the external interface and I am allowing all traffic for my "LAN" on the internal interface. I have setup rules on the external interface that allow DNS and www traffic. Also if I set the default output rule to ACCEPT on the external interface all works just fine!
I can't get to the internet from my windows box behind the Linux box. I can see the outgoing MASQ rule match and I can see DNS requests match but the results never make it back to my windows box. Is there some kind of log that I can check (besides the ipchains -L -nv command) that can tell me why the packets are being dropped? Or am I missing some type of rule?
Thanks for any help :),
Marc
If it helps I am running Redhat 7.0 and I have set up firewall rules that MASQ my internal ips at the external interface and I am allowing all traffic for my "LAN" on the internal interface. I have setup rules on the external interface that allow DNS and www traffic. Also if I set the default output rule to ACCEPT on the external interface all works just fine!