# Generated by iptables-save v1.4.14 on Fri Apr 16 13:52:09 2021
*nat
:PREROUTING ACCEPT [18:976]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
-A PREROUTING -p tcp -m tcp --dport 81 -j DNAT --to-destination 192.168.192.234:80
-A PREROUTING -p tcp -m tcp --dport 82 -j DNAT --to-destination 192.168.192.234:443
-A POSTROUTING -s 192.168.0.0/24 -o ppp0 -j MASQUERADE
-A POSTROUTING -d 192.168.192.234/32 -p tcp -m tcp --dport 80 -j SNAT --to-source 192.168.192.233
-A POSTROUTING -d 192.168.192.234/32 -p tcp -m tcp --dport 443 -j SNAT --to-source 192.168.192.233
-A POSTROUTING -o ppp0 -j MASQUERADE
COMMIT
# Completed on Fri Apr 16 13:52:09 2021
# Generated by iptables-save v1.4.14 on Fri Apr 16 13:52:09 2021
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [119:5236]
:OUTPUT ACCEPT [51:3415]
:fail2ban-ssh - [0:0]
-A INPUT -p tcp -m multiport --dports 2401 -j fail2ban-ssh
-A INPUT -p tcp -m multiport --dports 2401 -j fail2ban-ssh
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -i ppp0 -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -i ppp0 -p tcp -m tcp --dport 443 -j ACCEPT
-A INPUT -i ppp0 -p tcp -m tcp --dport 2401 -j ACCEPT
-A INPUT -i ppp0 -j DROP
-A INPUT -d 192.168.0.1/32 -i wlan0 -p tcp -m tcp --dport 80 -j DROP
-A INPUT -d 192.168.0.1/32 -i wlan0 -p tcp -m tcp --dport 2401 -j DROP
-A FORWARD -o ppp0 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -i ppp0 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -o wlan0 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -i wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -d 192.168.192.234/32 -p tcp -m tcp --dport 80 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -s 192.168.192.234/32 -p tcp -m tcp --sport 80 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -d 192.168.192.234/32 -p tcp -m tcp --dport 443 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -s 192.168.192.234/32 -p tcp -m tcp --sport 443 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -i ppp0 -o eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -i eth0 -o ppp0 -j ACCEPT
-A fail2ban-ssh -j RETURN
COMMIT
