taking over iptables/ip6tables and ipset
This commit is contained in:
7
postconfig.sh
Normal file
7
postconfig.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
ipset restore < /config/hphr.ipset
|
||||
iptables-restore /config/hphr.rules.v4
|
||||
ip6tables-restore /config/hphr.rules.v6
|
||||
echo 2 > /proc/sys/net/ipv4/conf/default/rp_filter
|
||||
echo 2 > /proc/sys/net/ipv4/conf/all/rp_filter
|
||||
Reference in New Issue
Block a user