Feature Request: logging of forwarded ports - add new DPT

I often use Port Forwarding and I create an inbound firewall rule to log every time the forwarded port is used. The log entry is incomplete.

As of firmware 8.2.x, it only has one destination port (DPT). When doing port forwarding with translation, there are two destination ports, one on the WAN and one on the LAN. The only logged port is the private/LAN one. Please also log the public/WAN port.

Thank you

How are you port forwarding? I’ve tried everything and when I check it always says port closed. I was trying to pass through to another router but that doesn’t seem to work, so I tried it with just the peplink and it still says port closed.

First off, there is port forwarding with and without translation. A mis-understanding about that would cause what you have seen. Just a guess.

If that’s not the issue, then you can easily narrow down where the problem is by creating an inbound firewall rule. It should key off the forwarded port, always allow the incoming connection and also log it. This way, if you see a log entry, the problem is external to the Peplink router. If you do not see anything logged, then chances are your test connection never made it to the Peplink router. This has happened to me where the ISP was intercepting the inbound transmission.

This brings up another test - taking the ISP out of the equation. Plug the router into the LAN of another router and test port forwarding from another device on the LAN of this other router.

Not until you have tried all of this can you then assume that the port forward rule itself is not working. If you get to that point, you can run a pcap trace in the router itself (with the support.cgi page) to, at the least, confirm that the incoming connection is really reaching the router.