summaryrefslogtreecommitdiff
path: root/testing/hosts/default/etc/iptables.drop
blob: 445c45669fc3c941e6e23b29b272ca2e39cdd9e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
*filter

# default policy is DROP
-P INPUT DROP
-P OUTPUT DROP
-P FORWARD DROP

# allow ssh
-A INPUT  -p tcp --dport 22 -j ACCEPT
-A OUTPUT -p tcp --sport 22 -j ACCEPT

COMMIT