converted all ipv6 iptables/ip6tables scenarios
This commit is contained in:
committed by
Tobias Brunner
parent
a0ffe67fab
commit
5c09942d54
@@ -28,6 +28,10 @@
|
||||
-A INPUT -p icmpv6 --icmpv6-type neighbor-advertisement -j ACCEPT
|
||||
-A OUTPUT -p icmpv6 --icmpv6-type neighbor-advertisement -j ACCEPT
|
||||
|
||||
# allow crl and certficate fetch from winnetou
|
||||
-A INPUT -i eth0 -p tcp --sport 80 -s fec0::15 -j ACCEPT
|
||||
-A OUTPUT -o eth0 -p tcp --dport 80 -d fec0::15 -j ACCEPT
|
||||
|
||||
# log dropped packets
|
||||
-A INPUT -j LOG --log-prefix " IN: "
|
||||
-A OUTPUT -j LOG --log-prefix " OUT: "
|
||||
|
||||
@@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user