ansible-playbooks/ubuntu/roles/firewall-ruleset-deploy/files/namshiel.asininetech.net.rules.v4

15 lines
504 B
Plaintext
Raw Normal View History

2020-01-18 22:29:03 +00:00
*filter
:INPUT DROP
:FORWARD DROP
: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 -m multiport --dports 9200,9300 -s 96.126.113.89/32 -j ACCEPT
2020-01-19 15:35:52 +00:00
-A INPUT -p tcp -m multiport --dports 9200,9300 -s 10.1.0.0/24 -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
2020-01-18 22:29:03 +00:00
COMMIT