Iptables command

Good afternoon.

I recently used the whonix wiki to set up a hidden service, I replaced Lighttpd with Nginx. I have little experience with iptables can someone tell me the command I would use to make nginx server listen on insetad of

I searched on the forums and I read over some topics it would seem the interanl gateway is so I need to make some iptable rule to allow the server to listen on

I hope I am making sense and someone can help.


Local redirection cannot be done with iptables. Answered earlier in another thread, see this post:

Hidden service, Apache and Whonix wiki related questions. - #11 by Patrick