2019-08-22 03:18:06 +00:00
|
|
|
*filter
|
|
|
|
:INPUT DROP
|
|
|
|
:FORWARD ACCEPT
|
|
|
|
:OUTPUT ACCEPT
|
|
|
|
-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
|
|
|
|
-A INPUT -i lo -j ACCEPT
|
|
|
|
-A INPUT -p icmp --icmp-type ping -j ACCEPT
|
|
|
|
-A INPUT -p tcp --dport 22 -j ACCEPT
|
|
|
|
-A INPUT -p tcp --dport 5665 -j ACCEPT
|
|
|
|
-A INPUT -p tcp --dport 9001 -j ACCEPT
|
|
|
|
-A INPUT -p tcp -m multiport --dports 5269,5222 -j ACCEPT
|
|
|
|
-A INPUT -p udp --dport 1194 -j ACCEPT
|
|
|
|
-A INPUT -p udp --dport 53 -s 10.8.0.1/24 -j ACCEPT
|
2020-03-04 22:50:35 +00:00
|
|
|
-A INPUT -p tcp --dport 53 -s 10.8.0.1/24 -j ACCEPT
|
2021-09-04 17:50:34 +00:00
|
|
|
-A INPUT -p udp --dport 53 -s 10.66.66.0/24 -j ACCEPT
|
2021-09-04 17:45:02 +00:00
|
|
|
-A INPUT -p tcp --dport 53 -s 10.66.66.0/24 -j ACCEPT
|
2021-11-21 04:07:41 +00:00
|
|
|
-A INPUT -p udp --dport 53 -s 100.64.0.0/10 -j ACCEPT
|
|
|
|
-A INPUT -p tcp --dport 53 -s 100.64.0.0/10 -j ACCEPT
|
2021-09-04 17:45:02 +00:00
|
|
|
-A INPUT -p udp --dport 51802 -j ACCEPT
|
2019-08-22 03:23:57 +00:00
|
|
|
COMMIT
|
2019-08-22 03:20:29 +00:00
|
|
|
*nat
|
2019-08-22 03:21:06 +00:00
|
|
|
:PREROUTING ACCEPT
|
|
|
|
:INPUT ACCEPT
|
|
|
|
:OUTPUT ACCEPT
|
|
|
|
:POSTROUTING ACCEPT
|
2019-08-22 03:18:06 +00:00
|
|
|
-A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
|
2021-09-04 17:45:02 +00:00
|
|
|
-A POSTROUTING -s 10.66.66.0/24 -o eth0 -j MASQUERADE
|
2019-08-22 03:18:06 +00:00
|
|
|
COMMIT
|