I tried to do something similar to this question
So I want to make all out-going traffic to port 44444 redirected to 18.104.22.168:80
iptables -t nat -A OUTPUT -p tcp --dport 44444 -j DNAT --to-destination 22.214.171.124:80 iptables -t nat -A OUTPUT -p tcp --dport 44444 -j LOG --log-prefix
However the traffic is still going to original IP, not
I am trying to setup it on my OpenWRT router, verison is:
MTK OpenWrt SDK V3.4 revision : e7847192 benchmark : APSoC SDK 126.96.36.199 Linux 3.10.14 iptables v1.4.21
Is there anything I did wrong?