After searching far and wide for a comprehensive answer and trying out multiple solutions which didn't work I am turning to the community.
I am using a VPN connection to access certain network resources (mainly testbeds) and they are all on the 10.0.0.0 network range. However, when I connect to the VPN all of my traffic is routed trough the VPN and not just the requests to those ip addresses. My goal is to route traffic like Youtube, Google Play and so on over my internet and not over the VPN internet. Mainly because the speed is very bad going over the VPN.
I have tried checking the options in the network manager setting to use the VPN only for the resources on the network but this does not work.
I have also tried playing around with my routing tables but to no success.
I would appreciate any help in this regard. I am using Ubuntu 16.04 with Gnome. Here are some network stats:
netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 enp4s0 10.150.1.254 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 enp4s0 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 enp4s0 188.8.131.52 192.168.0.1 255.255.255.255 UGH 0 0 0 enp4s0