Update tinc-up.tmpl
This commit is contained in:
parent
216e72b7bf
commit
7c742d4a4e
@ -8,3 +8,5 @@ iptables -A FORWARD -o \$INTERFACE -d ${network_address}/${global_prefix:-16} -j
|
||||
|
||||
# Prevent spoofing attacks
|
||||
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