In the documentation wiki I’ve followed the instructions so Internet hosts can hit my public IP on TCP port 4444 and get redirected to port 80 of host 10.0.6.17 inside my network.
Now what I am having trouble with is getting a configuration where hosts inside the network can hit my public IP on TCP 4444 and connect to port 80 of 10.0.6.17.
Can someone please show me how this is accomplished?
The documentation on hairpin NAT assumes the same port (not what I want). I have tried using a srcnat chain to masquerade in one rule but I can’t put the second srcnat rule to do the dst-nat and set the to-port (and that seems ulgy anyway).