Save ip{,6}tables rules.
This commit is contained in:
parent
e5b114478c
commit
0eb2999f0f
3 changed files with 53 additions and 0 deletions
26
etc/iptables/rules-save
Normal file
26
etc/iptables/rules-save
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Generated by iptables-save v1.8.11 (nf_tables) on Sat Sep 13 12:24:23 2025
|
||||
*filter
|
||||
:INPUT DROP [20:916]
|
||||
:FORWARD DROP [0:0]
|
||||
:OUTPUT ACCEPT [194:15741]
|
||||
[0:0] -A INPUT -s 10.254.0.0/24 -i eth1 -j ACCEPT
|
||||
[78:7646] -A INPUT -i lo -j ACCEPT
|
||||
[0:0] -A INPUT -s 127.0.0.0/8 -i eth0 -j DROP
|
||||
[0:0] -A INPUT -s 10.0.0.0/8 -i eth0 -j DROP
|
||||
[0:0] -A INPUT -s 172.16.0.0/12 -i eth0 -j DROP
|
||||
[0:0] -A INPUT -s 192.168.0.0/16 -i eth0 -j DROP
|
||||
[0:0] -A INPUT -s 10.254.0.0/24 -i eth1 -j ACCEPT
|
||||
[0:0] -A INPUT -s 5.101.171.208/28 -j ACCEPT
|
||||
[38:4676] -A INPUT -s 185.176.90.169/32 -j ACCEPT
|
||||
[0:0] -A INPUT -s 172.236.16.105/32 -j ACCEPT
|
||||
[0:0] -A INPUT -s 82.33.87.103/32 -j ACCEPT
|
||||
[0:0] -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
|
||||
[1:48] -A INPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
|
||||
[0:0] -A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
|
||||
[0:0] -A INPUT -p icmp -m icmp --icmp-type 3 -j ACCEPT
|
||||
[0:0] -A INPUT -p icmp -m icmp --icmp-type 11 -j ACCEPT
|
||||
[0:0] -A INPUT -p icmp -m icmp --icmp-type 12 -j ACCEPT
|
||||
[1:60] -A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -m multiport --dports 22,25422 -m conntrack --ctstate NEW -j ACCEPT
|
||||
[0:0] -A INPUT -p tcp -m tcp --dport 25443 --tcp-flags FIN,SYN,RST,ACK SYN -m conntrack --ctstate NEW -j ACCEPT
|
||||
COMMIT
|
||||
# Completed on Sat Sep 13 12:24:23 2025
|
Loading…
Add table
Add a link
Reference in a new issue