I am using GL-MT300N-V2 (Mango) with latest stable firmware 3.102
I have a problem by enabling VPN client, I am using a custom OpenVPN .ovpn config file:
When I load the .ovpn file and then I click on “Connect” button, the dot icon on the left of " OpenVPN Client" becomes yellow and connection does not work (I can’t access any website). So I SSH tot he router and then I see there is a file vpn_exception in /tmp/:
root@GL-MT300N-V2:/tmp# cat vpn_exception
VPN client failed to connect. This may be because of wrong configuration, unsupported parameters or terminated by the server.
Please choose another VPN profile or abort the connection.
Can someone help me to make the OpenVPN client work fine?
The OpenVPN server is from a Scaleway VPS and works fine with OpenVPN Client on a Windows 10.
Define a client connection profile. Client connection profiles are groups of OpenVPN options that describe how to connect to a given OpenVPN server. Client connection profiles are specified within an OpenVPN configuration file, and each profile is bracketed by <connection> and </connection>. An OpenVPN client will try each connection profile sequentially until it achieves a successful connection.
So here is my final and working ovpn config (may help others):