mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-04 11:01:27 +02:00
Merge remote-tracking branch 'stevee/next-suricata' into next
This commit is contained in:
@@ -185,6 +185,12 @@ iptables_init() {
|
||||
iptables -A INPUT -j GUARDIAN
|
||||
iptables -A FORWARD -j GUARDIAN
|
||||
|
||||
# IPS (suricata) chains
|
||||
iptables -N IPS
|
||||
iptables -A INPUT -j IPS
|
||||
iptables -A FORWARD -j IPS
|
||||
iptables -A OUTPUT -j IPS
|
||||
|
||||
# Block non-established IPsec networks
|
||||
iptables -N IPSECBLOCK
|
||||
iptables -A FORWARD -m policy --dir out --pol none -j IPSECBLOCK
|
||||
|
||||
Reference in New Issue
Block a user