Whilst working from home I found a need to constantly have VPN access to corporate resources (intranet and other internal systems) but without routing all traffic through the VPN. Adding the relevant search domains and unchecking “Send all traffic over VPN connection.” is not good enough unfortunately, i’m currently in an all or nothing scenario, so we need to manually route the traffic: Create the file /etc/ppp/ip-up with following content: #!/bin/sh /sbin/route add SUBNET $5 Replacing SUBNET with the …