[prev in list] [next in list] [prev in thread] [next in thread]
List: netfilter
Subject: Two gateways
From: root () lagente ! com
Date: 2003-04-30 17:54:02
[Download RAW message or body]
I have setup 2 DSL outgoing connections for my LAN. I split the traffic according \
form the source IP. My network setup is
---------dsl1 xxx.xxx.xxx.xxx
192.168.0.0/24 LAN------
---------dsl2 yyy.yyy.yyy.yyy
My rules are
iptables -t nat -A POSTROUTING -s 192.168.0.128/25 -d 0/0 -j SNAT --to \
xxx.xxx.xxx.xxx iptables -t nat -A POSTROUTING -s 192.168.0.128/25 -d 0/0 -j SNAT \
--to yyy.yyy.yyy.yyy
My default gateway is xxx.xxx.xxx.xxx
The nat rule that uses my default gateway has no problem.
How can I set a route rule to send the traffic form yyy.yyy.yyy.yyy out, or I don’t \
know if I’m using the incorrect iptable command. Sorry I’m a newbie
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic