Update tinc-down.tmpl
This commit is contained in:
parent
7a68e4a6ed
commit
43482b3c1a
@ -6,6 +6,6 @@ iptables -D FORWARD -o \$INTERFACE -d ${network_address}/${global_prefix:-16} -j
|
||||
{{ end }}{{ end }}
|
||||
|
||||
# Prevent spoofing attacks
|
||||
iptables -D FORWARD -i \$INTERFACE -s ! ${network_address}/${global_prefix:-16} -j DROP
|
||||
iptables -D FORWARD -i \$INTERFACE ! -s ${network_address}/${global_prefix:-16} -j DROP
|
||||
{{ if len "${bgp_routes:-}" }}{{ range "$bgp_routes" | split "," }}iptables -D FORWARD -i \$INTERFACE -s {{.}} -j DROP
|
||||
{{ end }}{{ end }}
|
Loading…
x
Reference in New Issue
Block a user