Hi,
I've been using Asuswrt-Merlin for some time but have limited NAT knowledge. Having exhausted everything I could think of to fix this, it is time to admit defeat and reach out for help.
I've recently switched to a static WAN IP, and after configuring the firewalls NAT table as below, I've been unable to access the internal service on below port using the external public WAN IP:
It is worth mentioning I also connect to a VPN server on the tun11 interface, and have no such problems with port forwarding configured as follows.
It appears from the logs, all traffic from ppp0 is dropped.
I would very much appreciate any suggestions on how to resolve or investigate what is causing this issue.
I've been using Asuswrt-Merlin for some time but have limited NAT knowledge. Having exhausted everything I could think of to fix this, it is time to admit defeat and reach out for help.
I've recently switched to a static WAN IP, and after configuring the firewalls NAT table as below, I've been unable to access the internal service on below port using the external public WAN IP:
Code:
iptables -t nat -I PREROUTING -i ppp0 -d <WAN-IP> -p tcp --dport 43210 -j DNAT --to-destination 192.168.1.2:43210
iptables -t nat -I POSTROUTING -s 192.168.1.2 -p tcp -m tcp --sport 43210 -j SNAT --to-source <WAN-IP>
iptables -I FORWARD -d 192.168.1.2 -p tcp --dport 43210 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
It is worth mentioning I also connect to a VPN server on the tun11 interface, and have no such problems with port forwarding configured as follows.
Code:
iptables -t nat -I PREROUTING -i tun11 -p tcp --dport 8889 -j DNAT --to-destination 192.168.1.2:6789
It appears from the logs, all traffic from ppp0 is dropped.
Code:
Oct 24 08:49:20 kernel: DROP IN=ppp0
I would very much appreciate any suggestions on how to resolve or investigate what is causing this issue.