El 14/09/11 17:35, Tom Eastep escribió:
On Wed, 2011-09-14 at 19:44 +0000, Johnson, SE wrote:
I was reading this page...  is it possible to force all communication to a 
specific range to go through one nic and the rest going through the first 
connection?
Please don't top-post.

You can accomplish your goal by adding suitable entries
in /etc/shorewall/route_rules/

-Tom

I give you a example of what i have working

/etc/shorewall/providers :

spd3 1 1 main dsl3 - track,balance=3 eth6,eth5 ddc 5 5 main eth7 200.51.46.49 track,balance=1 eth6,eth5

/etc/shorewall/tcrules :

#From LAN-1 to Provider market 5
5:P 192.168.150.0/24 0.0.0.0/0 tcp 53,443,1863,1023,9187,22,465,995,3306,10000:10030,7001,6891:6900,1503,3389,5061,5050,5100,8081,26000,8000,8081,8086 5:P 192.168.150.0/24 0.0.0.0/0 udp 9,53,7001,5000,5004,9989,32861,63601

#From LAN-2 to Provider market 1
1:P     10.10.50.0/24                   0.0.0.0/0       tcp     25

#From Firewall to Provider market 5
5 $FW 0.0.0.0/0 tcp 25,53,5200 5 $FW 0.0.0.0/0 udp 53,5198,5199

All what you need is in here http://shorewall.net/Documentation_Index.html

Regards.


------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to