mirror of https://github.com/hak5/openwrt.git
10 lines
265 B
Bash
10 lines
265 B
Bash
|
#!/bin/sh
|
||
|
ip6tables -N ipv6-site-border
|
||
|
ip6tables -A forwarding_rule -s fc00::/7 -j ipv6-site-border
|
||
|
ip6tables -A forwarding_rule -d fc00::/7 -j ipv6-site-border
|
||
|
|
||
|
mkdir -p /var/etc/ipv6-firewall.d
|
||
|
for i in /var/etc/ipv6-firewall.d/*; do
|
||
|
[ -f "$i" ] && . "$i"
|
||
|
done
|