Iptables and ipsec
Alexander Demenshin
aldem-nf@aldem.net
Sat, 29 Jul 2000 05:14:57 +0200
On Fri, Jul 28, 2000 at 10:48:35PM -0400, Steve Moro wrote:
> What does the $TABLE represent and what is the last rule -p 17.. What does
> that stand for?
To make things clear:
for HOOK in INPUT OUTPUT FORWARD; do
iptables -A $HOOK -p 50 -j ACCEPT # Protocol 50 == ESP
iptables -A $HOOK -p 51 -j ACCEPT # Protocol 51 == AH
iptables -A $HOOK -p 17 --sport 500 --dport 500 -j ACCEPT # Protocol 17 == UDP, port 500 (ISAKMP)
done
/Al