2018-07-21 02:02:32 +02:00
|
|
|
# {{ ansible_managed }}
|
|
|
|
*filter
|
|
|
|
:INPUT ACCEPT [0:0]
|
2019-05-09 22:23:35 +02:00
|
|
|
-A INPUT -p udp -m multiport -i br-{{ site_code }} --destination-ports {{ fastd_port }}:{{ fastd_port + (fastd_instances-1) }} -j LOG --log-prefix "vpn-int-loop-" -m limit --limit 5/min
|
|
|
|
-A INPUT -p udp -m multiport -i br-{{ site_code }} --destination-ports {{ fastd_port }}:{{ fastd_port + (fastd_instances-1) }} -j REJECT
|
2018-07-21 02:02:32 +02:00
|
|
|
:FORWARD ACCEPT [0:0]
|
|
|
|
-A FORWARD -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
|
|
|
|
:OUTPUT ACCEPT [0:0]
|
2021-06-14 16:46:00 +02:00
|
|
|
-A OUTPUT -o br-{{ site_code }} -p icmpv6 --icmpv6-type 135 -m limit --limit 200/sec -j ACCEPT
|
|
|
|
-A OUTPUT -o br-{{ site_code }} -p icmpv6 --icmpv6-type 135 -j DROP
|
2018-07-21 02:02:32 +02:00
|
|
|
COMMIT
|