I am port forwarding ssh through the router to a host inside my network. That works fine. I have a dstnat rule and a firewall filter rule permitting port 22 to be forwarded.
Now I want to allow ssh connections to the router itself as well.
One option would be to change the ssh port on the router, but it seemed to me I should be able to port forward a different port (say 2222) into the router itself on port 22. It should be as simple as a dstnat rule that changes the port number and provides the address to forward to, and a filter rule that lets the new port to be forwarded.
But it doesn't work. Is there something I'm missing?