republican-creole
site Search:
    All Forums Hot Topics Gallery
 
Search Topic:
Uniqs:
1315
Share Topic
Posting?
Post a:
Post a:
Links: ·Forum FAQ ·Attitude Adjustment ·Linux docs ·DistroWatch ·OPLM ·FreeBSD Handbook
AuthorAll Replies


Matt
All noise, no signal.
Premium
join:2003-07-20
Jamestown, NC
kudos:12

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?


SirMeowmix_III

@windstream.net

Matt, here you go:
»[LARTC] Destination based port routing (multi gateway/wan)


Saturday, 02-Jun 06:28:04 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 12.5 years online © 1999-2012 dslreports.com.
Most commented news this week
Hot Topics