2020-11-28 15:28:22 +00:00
|
|
|
# Filter
|
|
|
|
*filter
|
2020-12-22 17:57:46 +00:00
|
|
|
:INPUT DROP [0:0]
|
2020-11-28 15:28:22 +00:00
|
|
|
:FORWARD DROP [0:0]
|
2020-12-22 17:57:46 +00:00
|
|
|
:OUTPUT ACCEPT [0:0]
|
2020-11-28 15:28:22 +00:00
|
|
|
-A INPUT -m conntrack --ctstate INVALID -j DROP
|
|
|
|
-A INPUT -i lo -j ACCEPT
|
2020-12-07 15:46:31 +00:00
|
|
|
-A INPUT -p ipv6-icmp -j ACCEPT
|
2020-12-22 17:57:46 +00:00
|
|
|
-A INPUT -i tun0 -j ACCEPT
|
2020-12-07 15:46:31 +00:00
|
|
|
-A INPUT -i eth1 -p tcp -m tcp --dport 7521 -j ACCEPT
|
2020-11-28 15:28:22 +00:00
|
|
|
-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
|
2020-12-13 01:33:40 +00:00
|
|
|
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
|
2020-11-28 15:28:22 +00:00
|
|
|
COMMIT
|
|
|
|
# Mangle
|
|
|
|
*mangle
|
2020-12-22 17:57:46 +00:00
|
|
|
:PREROUTING ACCEPT [0:0]
|
|
|
|
:INPUT ACCEPT [0:0]
|
2020-11-28 15:28:22 +00:00
|
|
|
:FORWARD ACCEPT [0:0]
|
2020-12-22 17:57:46 +00:00
|
|
|
:OUTPUT ACCEPT [0:0]
|
|
|
|
:POSTROUTING ACCEPT [0:0]
|
|
|
|
COMMIT
|
|
|
|
# NAT
|
|
|
|
*nat
|
|
|
|
:PREROUTING ACCEPT [0:0]
|
|
|
|
:INPUT ACCEPT [0:0]
|
|
|
|
:OUTPUT ACCEPT [0:0]
|
|
|
|
:POSTROUTING ACCEPT [0:0]
|
2020-11-28 15:28:22 +00:00
|
|
|
COMMIT
|
|
|
|
# Raw electrons
|
|
|
|
*raw
|
2020-12-22 17:57:46 +00:00
|
|
|
:PREROUTING ACCEPT [0:0]
|
|
|
|
:OUTPUT ACCEPT [0:0]
|
2020-11-28 15:28:22 +00:00
|
|
|
COMMIT
|