I need to run a rule and a redirect ip to port more active when the csf this rule does not work, I tried to release the port more still did not work
my rule: iptables -t nat -A PREROUTING -p tcp --dport 8080 -j DNAT --to-destination MY_EXTERNAL_IP:80
iptables -t nat -A POSTROUTING -j MASQUERADE
if anyone has a suggestion and can help me thank you!
My iptables rules not working
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: My iptables rules not working
Ensure that you have remembered (see the readme.txt) to use the full path to any binaries, including /sbin/iptables, in your csfpost.sh