iptables.ipv4.nat_hotspot 538 B

123456789101112131415161718
  1. # Generated by xtables-save v1.8.2 on Sun Mar 14 08:45:54 2021
  2. *nat
  3. :PREROUTING ACCEPT [0:0]
  4. :INPUT ACCEPT [0:0]
  5. :POSTROUTING ACCEPT [0:0]
  6. :OUTPUT ACCEPT [0:0]
  7. -A POSTROUTING -o eth0 -j MASQUERADE
  8. COMMIT
  9. # Completed on Sun Mar 14 08:45:54 2021
  10. # Generated by xtables-save v1.8.2 on Sun Mar 14 08:45:54 2021
  11. *filter
  12. :INPUT ACCEPT [0:0]
  13. :FORWARD ACCEPT [0:0]
  14. :OUTPUT ACCEPT [0:0]
  15. -A FORWARD -i eth0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT
  16. -A FORWARD -i wlan0 -o eth0 -j ACCEPT
  17. COMMIT
  18. # Completed on Sun Mar 14 08:45:54 2021