9 Feb
2003
9 Feb
'03
18:09
On Sunday 09 February 2003 18:13, T. Ermlich wrote:
Hi again,
maybe I'm too stupid ....... but isn't there a difference between ports & protocols? I thought I understood iptables, but you're reply shows me I didn't. Here's an example: /usr/sbin/iptables -A INPUT -s 192.168.0.25 -d 64.65.66.67 -p udp --dport 500 -j ACCEPT /usr/sbin/iptables -A INPUT -s 192.168.0.25 -d 64.65.66.67 -p 50 -j ACCEPT Line 1 is related udp port 500, while line 2 is related to protocol 50. Or am I totally wrong?????
No, you're right. Line 2 is related to protocol 50 ("-p 50") thomas