peacey / split-vpn

A split tunnel VPN script for Unifi OS routers (UDM, UXG, UDR) with policy based routing.
GNU General Public License v3.0
817 stars 56 forks source link

Conflict with built-in VPN client #185

Closed u-sil closed 1 year ago

u-sil commented 1 year ago

I'm currently using a VPN forced on a specific VLAN (FORCED_SOURCE_INTERFACE)

In this state, I created VPN Client in Teleport & VPN in Unifi settings and set routing option in Traffic Management (All Device routing for specific domain)

Then, all other VLAN devices other than the configured VLAN started to connect to the VPN.

This persists even after deleting the VPN Client, deleting routing options, and rebooting.

The solution is to change the Prefix in vpn.conf. After changing the Prefix and rebooting, the problem is solved. (Previously it was VPN_ which was the default.)

My guess was that rules with the word VPN internally made by Unifi would conflict with the default Prefix VPN_

Do you happen to know the cause? And I hope this article helps anyone who has the same problem as me.

u-sil commented 1 year ago

Close the thread because it seems to be due to another problem. sorry