Unifi

Like many around the world Techeez has now gone into the Unifi world we have many office deployments and really do like the products.. There are a couple items that are not as easily taken care of and we will delve into a few as we come across them here…

OPENVPN and Unifi split tunneling

While setting up the VPN connections are very easy there are a few items that are default and require manual intervention, one of those is split tunneling. There is no setting in the setup on the Unifi interface to enable that but a easy edit in the config you send out to the client can enable it. If you edit the config in notepad or any editor and look for a line that says “redirect-gateway def1” all you have to do to enable split tunneling is to HASH that line out “#redirect-gateway def1” save the file and away you go. If you have a config already imported on your PC then navigate to “C:\Users\Username\AppData\Roaming\OpenVPN Connect\profiles” and edit it in place.

IF your config file does not have the redirect-gateway line its probably using the older versions and you will need to a couple more lines route-nopull then add route 0.0.0.0 0.0.0.0 and then add the ip address for the external network route 192.168.1.0 255.255.255.0 .