On Saturday 24 January 2004 12:57 pm, L.Malinov wrote: > Hi Antony, > > In my situation is not possible to set router1 as a default route because > the machine acts as a mail server as well and the mail needs to go through > router1. Okay then - in that case I suggest you use iproute2 to route all TCP port 80 packets via router2, all TCP port 25 packets via router1, and decide what you want to do with everything else such as DNS. I don't see that there should be any need to MARK packets - just route based on the destination port number. see http://lartc.org for more details of iproute2 and what it can do. Regards, Antony. -- Wanted: telepath. You know where to apply. Please reply to the list; please don't CC me.