LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   named works only on the server (https://www.linuxquestions.org/questions/linux-networking-3/named-works-only-on-the-server-244103/)

psc 10-18-2004 05:00 AM

named works only on the server
 
hello,

Put named on my server and I realized that it works only on the server.
#dig psc.pajura - it works
#dig -x psc.pajura - it works
the ping also works

when I issue the command ping psc.pajura from the win client it doesn't work. on the server if I type #tcpdump -i eth1 port 53 i see the client's requesc.

someone told me that the problem is from the firewall
my firewall looks like this:

$iptables -p input accept
$iptables -f input
$iptables -p output accept
$iptables -f output
$iptables -p froward drop
$iptables -f forward
$iptables -t nat -f

$iptables -a forward - i $extif -o $pppif -m state --state established,related -j accept
$iptables -a forward -i $pppif -o $extif -j accept
$iptables -a forward -j log

$iptables -t nat -a postrouting -o $extif - j masquerade

I use ppp for my vpn clients; extif is the wan (eth0) interface.

please tell me what line should I add in my rc.firewall file.

thanks a lot!

maxut 10-18-2004 05:41 AM

u dont have any block rules in INPUT chain.


All times are GMT -5. The time now is 08:39 PM.