PiVPN .ovpn file not configurable in the GUI [answered]
Hi,
when importing an .ovpn file created by PiVPN, a VPN connection to my VPN server cannot be established on my phone. I am on Sailfish OS version 3.0.1.11 on an Xperia X.
What did I do?
- go to the UI
- import the .ovpn file
- choose: Request login if needed (I don't know how it is titled in
English, my system is in German) - start the connection and type the name of the OpenVPN profile as
username and the passphrase as
password - connect -> didn't work
If I recall correctly the PiVPN configuration files need only a passphrase for authentication and no username-password combination.
When I configure the vpn via console as root however, it works. Then I am also able to just type in the passphrase.
Is there any way in Sailfish to authenticate with just the passphrase? Alternatively, what do I need to change on my server so that I can use the config-files in Sailfish?
On my other non-Sailfish devices I can connect to my OpenVPN server.
Thanks
EDIT
the .ovpn file:
client
dev tun
proto udp
remote *** 1194
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
tls-version-min 1.2
verify-x509-name server*** name
cipher AES-256-CBC
auth SHA256
compress lz4
verb 3
<ca>
-----BEGIN CERTIFICATE-----
***
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
***
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: AES-128-CBC,***
***
-----END RSA PRIVATE KEY-----
</key>
<tls-crypt>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
***
-----END OpenVPN Static key V1-----
</tls-crypt>
I use .ovpn config with openvpn and it works. Maybe you should post your config, of course without the security data but all lines. Maybe there i something special which is not correctly imported.
SaimenSays ( 2019-01-29 21:46:05 +0200 )editok, I added it.
schippe ( 2019-01-29 21:55:15 +0200 )edit