iptables.ipv4.nat_openvpn 768 B

123456789101112131415161718192021
  1. # Generated by xtables-save v1.8.2 on Sat Mar 13 08:02:20 2021
  2. *nat
  3. :PREROUTING ACCEPT [101:21644]
  4. :INPUT ACCEPT [48:7257]
  5. :POSTROUTING ACCEPT [0:0]
  6. :OUTPUT ACCEPT [16:1047]
  7. [56:9742] -A POSTROUTING -o eth0 -j MASQUERADE
  8. [0:0] -A POSTROUTING -o tun0 -j MASQUERADE
  9. COMMIT
  10. # Completed on Sat Mar 13 08:02:20 2021
  11. # Generated by xtables-save v1.8.2 on Sat Mar 13 08:02:20 2021
  12. *filter
  13. :INPUT ACCEPT [677:65247]
  14. :FORWARD ACCEPT [0:0]
  15. :OUTPUT ACCEPT [396:51620]
  16. [708:468405] -A FORWARD -i eth0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT
  17. [659:121000] -A FORWARD -i wlan0 -o eth0 -j ACCEPT
  18. [0:0] -A FORWARD -i tun0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT
  19. [0:0] -A FORWARD -i wlan0 -o tun0 -j ACCEPT
  20. COMMIT
  21. # Completed on Sat Mar 13 08:02:20 2021