PDA

View Full Version : ICS Problem


vinodadhikary
2006-05-10, 02:30 AM CDT
I have configured FC4 as router, and I have iptables turned on for firewall. My firewall allows port 80, and all other LAN packets. The problem is as follows:
1. When I turn off iptables then I am able to use the internet through FC4 installed machine but not on my other LAN machines.
2. When I turn on iptables then I am unable to use the internet through FC4 installed machine, but on my other LAN machines.

This problem has been buggin me for several days and I don't know where the problem is becuase previously the same iptables worked fine for me. I have not installed any other services nor have I made any modifications to the iptables.

ccrvic
2006-05-10, 02:43 AM CDT
This problem has been buggin me for several days and I don't know where the problem is becuase previously the same iptables worked fine for me. I have not installed any other services nor have I made any modifications to the iptables.

We need to know :

- Your network configuration (modems, routers, etc.)
- Your /etc/sysconfig/iptables

Vic.

vinodadhikary
2006-05-10, 02:57 AM CDT
I now have found out that its my DNS problem. When I use IP in place of domain name then i am able to ping and receive replies. How do I now turn on the DNS for my LAN? Is it not:
iptables -A INPUT -p UDP -s 192.168.0.0/24 --destination-port 53 -j ACCEPT
?