When you are connected to VPN, you must review your route table.
you will need to delete the default gateway, (as sudo ):
ip route del default via 192.168.1.254
an add the new one (x.w.y.z your GW VPN):
ip route add default via x.w.y.z
Gook Luck