Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
1.3 kB
4
Indexable
Never
# Generated by iptables-save v1.8.7 on Thu Sep 14 13:38:24 2023
*mangle
:PREROUTING ACCEPT [161438376:122689282760]
:INPUT ACCEPT [10480023:1910741780]
:FORWARD ACCEPT [150956886:120778373084]
:OUTPUT ACCEPT [7394113:3721868697]
:POSTROUTING ACCEPT [158352094:124500535546]
COMMIT
# Completed on Thu Sep 14 13:38:24 2023
# Generated by iptables-save v1.8.7 on Thu Sep 14 13:38:24 2023
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:f2b-sshd - [0:0]
-A INPUT -p tcp -m multiport --dports 666 -j f2b-sshd
-A FORWARD -i wg0 -j ACCEPT
-A FORWARD -o wg0 -j ACCEPT
-A f2b-sshd -s 101.67.137.98/32 -j REJECT --reject-with icmp-port-unreachable
-A f2b-sshd -j RETURN
COMMIT
# Completed on Thu Sep 14 13:38:24 2023
# Generated by iptables-save v1.8.7 on Thu Sep 14 13:38:24 2023
*nat
:PREROUTING ACCEPT [3338084:295316720]
:INPUT ACCEPT [1219827:70328051]
:OUTPUT ACCEPT [7506:585935]
:POSTROUTING ACCEPT [25863:1869458]
-A POSTROUTING -s 10.8.7.0/24 -o enp3s0 -j MASQUERADE
-A POSTROUTING -s 192.168.42.0/24 -o enp3s0 -j MASQUERADE
-A POSTROUTING -s 192.168.43.0/24 -o enp3s0 -m policy --dir out --pol none -j MASQUERADE
-A POSTROUTING -s 192.168.251.0/24 -o enp3s0 -j MASQUERADE
-A POSTROUTING -o enp3s0 -j MASQUERADE
COMMIT
# Completed on Thu Sep 14 13:38:24 2023