We have moved to a new Sailfish OS Forum. Please start new discussions there.
1 | initial version | posted 2019-01-29 20:36:16 +0200 |
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
What did I do?
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
2 | No.2 Revision |
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.113.0.1.11 on an Xperia X.
What did I do?
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
3 | No.3 Revision |
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?
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>
4 | retagged |
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?
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>