 Matt Take me down to the paradise city Premium join:2003-07-20 Jamestown, NC
·North State Commun..
| iptables outbound redirect to new gateway based on dst port?
Hello Gents,
I'm trying to redirect all OUTBOUND port 1935 (hulu.com) traffic to a different gateway address on my DD-WRT router, but I can't seem to find the right combo. Here is what I have so far:
iptables -t nat -I MANGLE -i eth0 --dport=1935 --gw=192.168.1.2
What I can't figure out, is if I need to use the PREROUTING table or the MANGLE table. Any suggestions? |