Allow user to specify local company intranet and DNS
When on a work intranet there are often more subnets available locally than just the subnet that the client computer is on. It would be nice to have somewhere to specify:
1) What are the subnets that are to be reached on the the local network (i.e. not to be pushed across VyprVPN).
2) What are the DNS domain/s that are to be resolved on the local network (i.e. not sent to the Vypr DNS)
For (1) there could be a checkbox to select "All private IPv4 space is local". That would make it easy for users who do not know the extent of IPv4 addresses in their company intranet.
For (1) - remember the previous default gateway on the client, add routes on the client to that previous default gateway for each of the networks specified as "local intranet".
For (2) - remember the previous DNS server settings on the client. For each domain specified by the user (e.g. *.intranet.company.example.com) forward requests for those names to the previous DNS server, rather than sending to the Vypr DNS.
This will make it easy to use VyprVPN and still get access to the hosts in a company intranet at the same time.
