1. A method for routing packets from an endpoint to a gateway, the method comprising: (a) receiving a filtering table; (b) intercepting an outbound packet; (c) transmitting the outbound packet to a client application, responsive to the filtering table; and (d) transmitting, by the client application, the outbound packet to a gateway responsive to an application of a policy to the outbound packet.