DUAL wan issue, destination-based routing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey guys, i was reading on the netfilter site.

I saw Patrick McHardy wrote about having 2 cable modems... i'm in the
same situation... my only problem is that I dont want to do load
balancing, i've just come from using PFSENSE/freebsd to use
ClarkConnect on CentOS i guess.. i've never used iptables before. i've
tried things like:

"iptables -A POSTROUTING -t nat -o eth2 -s 192.168.2.0/24 -d
67.17.117.0/24 -j MASQUERADE" and it still doesn't work.

192.168.2.0/24 dev eth1  proto kernel  scope link  src 192.168.2.1
24.x.x.0/23 dev eth2  proto kernel  scope link  src 24.x.x.23
71.x.x.0/23 dev eth3  proto kernel  scope link  src 71.x.x.6
default via 71.x.x.1 dev eth3

so right now i have all traffic go out eth3, i'd love to have the ips
and ipblocks i select and have it go out one of the cable interfaces.
so for the example above, i want www.speedtest.net (because it shows
the ip) to go out eth2 but it's still going out eth3.

thanks in advance, i'm really lost...
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux