Operating System - Linux
1831504 Members
3231 Online
110025 Solutions
New Discussion

Re: ipchains can not forward dns resolve but pure ip forward success

 
SOLVED
Go to solution

ipchains can not forward dns resolve but pure ip forward success

Dear all, i configure the ipchains so as to act as gateway, the ip has been forward sucessful, however, any dns resolove are block in this gateway,could any one tell my how to make it as normal gateway for a lan accessing internel, the dns.

thanks
frederick

frederick
1 REPLY 1
U.SivaKumar_2
Honored Contributor
Solution

Re: ipchains can not forward dns resolve but pure ip forward success

Hi,
Give this command for accepting DNS packets
#ipchains -A input -i eth1 -p udp -s 0/0 53 -d 0/0 1024:65535 -j ACCEPT
replace eth1 with you own interface.

regards,
U.SivaKumar


Innovations are made when conventions are broken