openvpn-manager
openvpn-manager copied to clipboard
Run the project in debug mode, shown UAC prompt asking for administrator password
When I run this project in Visual studio , and true to connect one of VPNs , it's shown UAC prompt ask for administrator password. Does anyone know how to remove this UAC promot? I think it was trying to trigger OpenVPN.
thanks
The uac is needed to allow for pushed routes and configured routes to be set when the openvpn tunnel is up and running. This is required to route any traffic trough the tunnel. You can configure the [OpenVPNManagerService] as described in the wiki to overcome the uac. The service will have the rights needed to set routes and the uac isn't needed there. This is a limitation of openvpn and can not be influenced by us.
thanks for the reply @hapm , Do you mean this doc in the wiki, which describe how to overcome the UAC. Pardon me, not quiet sure that does this mean below
"Similar to the OpenVPN Server, the config must include the following lines so that the OpenVPN Manager can use the management interface. management 127.0.0.1 11193 management-query-passwords management-hold management-signal management-forget-disconnect auth-retry interact"
So where exactly should I to find the place to put those config statement?
thanks
@hapm do I supposed to put those configuration in to OpenVPNManagerService.exe.config?
They belong into the .ovpn file used to connect to your openvpn peer. If you want to setup everything by yourself you should read some basics about openvpn: https://openvpn.net/community-resources/how-to/