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