Concurrent access to a first networking connection, such as an Internet
connection, and a second networking connection, such as a virtual private networking
(VPN) connection, is disclosed. The first connection is established, adding first
default routes to a routing table. The first routes are associated with the first
connection and have priority. The second connection is established, adding second
default routes to the routing table. The second routes are associated with the
second connection, and have priority over the first routes. Specific routes associated
with the second connection are added from a preset routing file to the routing
table. The second routes are removed, regaining priority for the first routes.
Data packets intended for the second connection are routed according to the specific
routes added to the routing table from the preset table. Other data packets are
routed to the first connection according to the first routes.