mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
firewall: Add TOR chains.
This commit is contained in:
@@ -159,6 +159,10 @@ iptables_init() {
|
||||
/sbin/iptables -N WIRELESSFORWARD
|
||||
/sbin/iptables -A FORWARD -m conntrack --ctstate NEW -j WIRELESSFORWARD
|
||||
|
||||
# TOR
|
||||
/sbin/iptables -N TOR_INPUT
|
||||
/sbin/iptables -A INPUT -j TOR_INPUT
|
||||
|
||||
# Jump into the actual firewall ruleset.
|
||||
/sbin/iptables -N INPUTFW
|
||||
/sbin/iptables -A INPUT -j INPUTFW
|
||||
|
||||
Reference in New Issue
Block a user