We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2019-01-29 20:36:16 +0200

PiVPN .ovpn file not configurable in the GUI

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?

  • 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

PiVPN .ovpn file not configurable in the GUI

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?

  • 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

PiVPN .ovpn file not configurable in the GUI

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>

PiVPN .ovpn file not configurable in the GUI

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>