On 1/12/11 1:27 PM, Sam Przyswa wrote: > Le 12/01/2011 21:52, Tom Eastep a écrit : >> On 1/12/11 12:46 PM, Sam Przyswa wrote: >> >>> Please let me know (if it's possible) how to route ALL the port >>> x traffic on the desired provider. >> Configure your applications to bind to a specific local IP >> address. >> =================================================================== > >> > I don't really understand what you mean because the shorewall machine > is a default *gateway* for LAN machines and LAN machines sand mails > on SMTP port on external mail server via the gateway that I want go > on provider 1, and LAN machines request inbound mails on IMAP2 port > on the same mail server that I want go on provider 2. For 80 and 443 > requests the load balancing 3/1 it's ok for me. There is +/- 200 LAN > machines.
Yesterday, you said: > I configure as it explained on this page with a line in > /etc/shorewall/tcrules: > > 1 $FW 0.0.0.0/0 tcp 25 > > to force the smtp traffic on provider 1 but with the "balance" option > in /etc/shorewall/providers some smtp traffic go on provider 2 !? So I foolishly assumed that the problem was occurring on traffic originating on the firewall. Sorry for the misunderstanding. From another earlier post, you included: > 1:P 192.168.2.0/24 0.0.0.0/0 tcp 25 > 1:P 81.255.74.148 0.0.0.0/0 tcp 25 > 1:P 88.180.116.54 0.0.0.0/0 tcp 25 That should mark packets from those IP addresses to be marked with mark 1 so that they will go out of the Orange provider. If you have evidence that such connections are going out of the other provider (Free), then please send me (privately) the output of 'shorewall dump'. Thanks, -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
