Annotation of embedaddon/strongswan/testing/tests/tnc/tnccs-20-pdp-eap/hosts/moon/etc/iptables.rules, revision 1.1
1.1 ! misho 1: *filter
! 2:
! 3: # default policy is DROP
! 4: -P INPUT DROP
! 5: -P OUTPUT DROP
! 6: -P FORWARD DROP
! 7:
! 8: # allow esp
! 9: -A INPUT -i eth0 -p 50 -j ACCEPT
! 10: -A OUTPUT -o eth0 -p 50 -j ACCEPT
! 11:
! 12: # allow IKE
! 13: -A INPUT -i eth0 -p udp --sport 500 --dport 500 -j ACCEPT
! 14: -A OUTPUT -o eth0 -p udp --dport 500 --sport 500 -j ACCEPT
! 15:
! 16: # allow MobIKE
! 17: -A INPUT -i eth0 -p udp --sport 4500 --dport 4500 -j ACCEPT
! 18: -A OUTPUT -o eth0 -p udp --dport 4500 --sport 4500 -j ACCEPT
! 19:
! 20: # allow ssh
! 21: -A INPUT -p tcp --dport 22 -j ACCEPT
! 22: -A OUTPUT -p tcp --sport 22 -j ACCEPT
! 23:
! 24: # allow crl fetch from winnetou
! 25: -A INPUT -i eth0 -p tcp --sport 80 -s PH_IP_WINNETOU -j ACCEPT
! 26: -A OUTPUT -o eth0 -p tcp --dport 80 -d PH_IP_WINNETOU -j ACCEPT
! 27:
! 28: # allow RADIUS protocol with alice
! 29: -A INPUT -i eth1 -p udp --sport 1812 -s PH_IP_ALICE -j ACCEPT
! 30: -A OUTPUT -o eth1 -p udp --dport 1812 -d PH_IP_ALICE -j ACCEPT
! 31:
! 32: COMMIT
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>