summaryrefslogtreecommitdiffstats
path: root/scripts/start
blob: b7377c98ff8eeba43518f675b22c9a7c4b3d48bd (plain)
1
2
3
4
5
iptables -N Ifw
ipset create ifw_wl hash:ip
iptables -A Ifw -m set --match-set ifw_wl src -j RETURN
ipset create ifw_bl hash:ip --timeout 3600
iptables -A Ifw -m set --match-set ifw_bl src -j DROP