2019-08-22 02:26:21 +00:00
|
|
|
*filter
|
2019-08-22 03:41:40 +00:00
|
|
|
:INPUT DROP
|
|
|
|
:FORWARD DROP
|
|
|
|
:OUTPUT DROP
|
2020-04-15 02:15:06 +00:00
|
|
|
-A INPUT -m set --match-set nasties src -j DROP
|
2019-08-22 02:26:21 +00:00
|
|
|
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
|
|
|
|
-A INPUT -i lo -j ACCEPT
|
|
|
|
-A INPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
|
|
|
|
-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
|
|
|
|
-A INPUT -p tcp -m multiport --dports 80,443 -j ACCEPT
|
|
|
|
-A INPUT -p tcp -m tcp --dport 5665 -j ACCEPT
|
2020-01-19 01:48:58 +00:00
|
|
|
-A INPUT -p tcp -m tcp --dport 655 -j ACCEPT
|
|
|
|
-A INPUT -p udp -m udp --dport 655 -j ACCEPT
|
2019-08-22 02:26:21 +00:00
|
|
|
-A OUTPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
|
|
|
|
-A OUTPUT -o lo -j ACCEPT
|
|
|
|
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
|
|
|
|
-A OUTPUT -p tcp -m multiport --dports 80,443 -j ACCEPT
|
|
|
|
-A OUTPUT -p udp -m udp --dport 53 -j ACCEPT
|
|
|
|
-A OUTPUT -p tcp -m tcp --dport 53 -j ACCEPT
|
|
|
|
-A OUTPUT -p tcp -m tcp --dport 587 -j ACCEPT
|
|
|
|
-A OUTPUT -p tcp -m tcp --dport 5665 -j ACCEPT
|
|
|
|
-A OUTPUT -p tcp -m tcp --dport 25 -j ACCEPT
|
2019-10-04 13:44:08 +00:00
|
|
|
-A OUTPUT -p udp -m multiport --dports 67,68 -j ACCEPT
|
2020-01-18 22:17:39 +00:00
|
|
|
-A OUTPUT -p tcp -m tcp --dport 9200 -j ACCEPT
|
2020-01-19 01:48:58 +00:00
|
|
|
-A OUTPUT -p tcp -m tcp --dport 655 -j ACCEPT
|
|
|
|
-A OUTPUT -p udp -m udp --dport 655 -j ACCEPT
|
2019-08-22 02:26:21 +00:00
|
|
|
COMMIT
|