amnezia-vpn / amnezia-client

Amnezia VPN Client (Desktop+Mobile)
https://amnezia.org
GNU General Public License v3.0
2k stars 200 forks source link

Can I use an .ovpn config file with login/password for connection via the AmnesiaWG Windows App? #816

Open n8creator opened 1 month ago

n8creator commented 1 month ago

Hi! I use the AmnesiaWG Windows app to connect to various VPN locations for personal use. Recently, at my new job, I was given an .ovpn config file to connect to the company server using login and password authentication. Can I use this config file to set up an OpenVPN connection through the AmnesiaWG app?

I tried adding the auth-user-pass parameter with an absolute path to the config file, but the connection fails (everything works fine when I use the native OpenVPN app)). Here is a fragment of my .ovpn configuration file:

client
auth-user-pass C:\openvpn-credentials.txt
auth-nocache
#static-challenge Verification code: 1
reneg-sec 0
dev tun
proto udp
sndbuf 0
...

Any help would be appreciated!