@arubislander said in split dns/routing for personal vpn:
@gandalf Not sure about any answer to your questions, but I would suggest you research if what you want is possible on Ubuntu Desktop with NetworManager. If it is, then teh same setup should be transferable to Ubuntu Touch, as the VPN technology used is the same.
Thanks for the suggestions. I've set up openvpn and the import in UT worked without troubles.
Split dns works quite well;
the openvpn server needs to push the default domain (eg. mylan for any server.mylan to work).
In the vpn settings on UT select "Use this VPN for: [ x ] Its own network
it also works in combination with the wifi hotspot (FP4), I can access my server by its domain without any changes to the laptop network settings.
tbd: keep alive, auto-reconnect, and maybe a kill switch for the local domain