I'm configuring a virtual firewall using Shorewall and have a rule to forward the external port 2222 to internal port 22:
DNAT inet lan:192.168.1.2:22 tcp 2222
where 192.168.1.2 is the IP address of the firewall. But it doesn't work!
I don't want to allow SSH directly (port 22) like this:
SSH(ACCEPT) inet $FW
How do I make the firewall accept redirected SSH?
shorewall
. AU is missing this tag.