Quantcast
Channel: Tomato Firmware
Viewing all articles
Browse latest Browse all 5268

Redirect WAN IP

$
0
0
I would like to redirect a WAN IP so that if a call goes to say 8.8.8.8 then it gets changed to go to 9.9.9.9 ONLY for br1. I tried

Code:
home/root# iptables -t nat -A PREROUTING -i br1 -d 8.8.8.8 -p tcp  -j DNAT --to 9.9.9.9
via the console but it does not appear to work. Is this even possible? Below is my iptables (may be that I need this in some other part of the config).

Also while I'm at it, I tried the following lines (and you can see them in the config below, although...

Redirect WAN IP

Viewing all articles
Browse latest Browse all 5268

Latest Images

Trending Articles



Latest Images