epicit
Right now we have users using ovpn and have it set to auto start. That way they can login to the domain and get gp scripts at login.
Everything is working as expected, but users complained that their internet was slow on their laptops. We ended up putting in
[oconf=]route-nopull
route 10.5.10.0 255.255.255.0[/oconf]
That way their internet traffic stays on their local connection. Since most of the users have much faster internet than the office network.
The issue we are now facing is if a user comes to the office and attempts to work on their laptop it won't work. Unless they disable to ovpn service and logout and back in again. Or we take the route-nopull statement out.
Does anyone know of a way to have the ovpn client only connect when it is outside? Maybe something like if it sees that the gateway is a certain IP it won't connect the VPN or that the local lan ip matches the route and will not connect?