help me in IPTABLES

Vivek Mangal vivek.mangal9685 at gmail.com
Wed Jul 18 05:08:19 UTC 2007


hello all,

   Can you help me to understand iptables Problem in below line

iptables -A OUTPUT -p udp -o eth0 --dport 53 --sport 1024:65535 -j ACCEPT

iptables -A INPUT -p udp -i eth0 --sport 53 --dport 1024:65535 -j ACCEPT

I have confeusion that in first line Destination Port is 53 and Source
Port 1024
to 65535
means any request come from 1024 to 65535 ports goes to 53  port.

And in second line Destination Port is 1024 to 65535 and Source Port 53
means any request come from 53 port goes to 1024 to 65535 ports.

it open all 1024 to 65535 and 53 ports then what the use of Iptable ?

Please help me........

Vivek Mangal



More information about the redhat-list mailing list