19 lines
713 B
Plaintext
19 lines
713 B
Plaintext
# Generated by iptables-save v1.8.7 on Mon Jan 24 09:15:18 2022
|
|
*filter
|
|
:INPUT ACCEPT [0:0]
|
|
:FORWARD DROP [0:0]
|
|
:OUTPUT ACCEPT [0:0]
|
|
-A FORWARD -d 10.6.0.0/24 -i eth0 -o wg0 -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment wireguard-forward-rule -j ACCEPT
|
|
-A FORWARD -s 10.6.0.0/24 -i wg0 -o eth0 -m comment --comment wireguard-forward-rule -j ACCEPT
|
|
COMMIT
|
|
# Completed on Mon Jan 24 09:15:18 2022
|
|
# Generated by iptables-save v1.8.7 on Mon Jan 24 09:15:18 2022
|
|
*nat
|
|
:PREROUTING ACCEPT [0:0]
|
|
:INPUT ACCEPT [0:0]
|
|
:OUTPUT ACCEPT [0:0]
|
|
:POSTROUTING ACCEPT [0:0]
|
|
-A POSTROUTING -s 10.6.0.0/24 -o eth0 -m comment --comment wireguard-nat-rule -j MASQUERADE
|
|
COMMIT
|
|
# Completed on Mon Jan 24 09:15:18 2022
|