Annotation of embedaddon/strongswan/testing/tests/sql/shunt-policies-nat-rw/hosts/sun/etc/iptables.rules, revision 1.1.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 IKE
9: -A INPUT -i eth0 -p udp --dport 500 -j ACCEPT
10: -A OUTPUT -o eth0 -p udp --sport 500 -j ACCEPT
11:
12: # allow MobIKE
13: -A INPUT -i eth0 -p udp --dport 4500 -j ACCEPT
14: -A OUTPUT -o eth0 -p udp --sport 4500 -j ACCEPT
15:
16: # allow ssh
17: -A INPUT -p tcp --dport 22 -j ACCEPT
18: -A OUTPUT -p tcp --sport 22 -j ACCEPT
19:
20: # allow crl fetch from winnetou
21: -A INPUT -i eth0 -p tcp --sport 80 -s PH_IP_WINNETOU -j ACCEPT
22: -A OUTPUT -o eth0 -p tcp --dport 80 -d PH_IP_WINNETOU -j ACCEPT
23:
24: COMMIT
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>