I want to intercept IP packets which are destined for a gateway and if the source address is within a certain range send it to another gateway. I first assumed that I could do that within ip_forward, but that is only called for packets which are being routed through. Some of the packets which I am interested in come from the host machine. Any ideas on the easiest place to achieve this would be appreciated. Why I want to do this ===================== I have 2 connections to the Internet, but the IP-numbers are seperate from each up stream provider therefore the default route needs to depend on the source IP. Ian |