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 127.0.0.1 insetad of 10.152.152.11.

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

I hope I am making sense and someone can help.

J.J

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