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 2017-06-20 13:34:40 +0200

ProtonVPN update-resolv-conf

Hi,

I'm trying to configure ProtonVPN on my Sailfish OS phone but I'm having a little issue here. When I load the OVPN file in Settings and try to connect I get: "Problem with connection"

So I tried it from the command line: "openvpn ch-01.protonvpn.com.udp1194.ovpn" which gave me the following error:

Options error: --up script fails with '/etc/openvpn/update-resolv-conf': No such file or directory

ProtonVPN update-resolv-conf[how-to] ProtonVPN on Sailfish OS

How to use ProtonVPN on Sailfish OS

  1. Log into your ProtonVPN account.
  2. Go to "Downloads" and select "DD-WRT router" as platform, protocol may be UDP or TCP.
  3. Select a server you want to connect to.
  4. Download the OVPN file and import it in Settings -> VPN -> OpenVPN -> Import file
  5. Go to "Account" in ProtonVPN for your credentials and copy them into the input boxes on your phone.
  6. Click "Connect" on your phone & enjoy :)

Original question: Hi,

I'm trying to configure ProtonVPN on my Sailfish OS phone but I'm having a little issue here. When I load the OVPN file in Settings and try to connect I get: "Problem with connection"

So I tried it from the command line: "openvpn ch-01.protonvpn.com.udp1194.ovpn" which gave me the following error:

Options error: --up script fails with '/etc/openvpn/update-resolv-conf': No such file or directory

[how-to] ProtonVPN on Sailfish OS

How to use ProtonVPN on Sailfish OS

EDIT: Added info on how to avoid IPv6 and DNS leaks

  1. Log into your ProtonVPN account.
  2. Go to "Downloads" and select "DD-WRT router" as platform, protocol may be UDP or TCP.
  3. Select a server you want to connect to.
  4. Download the OVPN file and import it in Settings -> VPN -> OpenVPN -> Import file
  5. Go to "Account" in ProtonVPN for your credentials and copy them into the input boxes on your phone.
  6. Click "Connect" on your phone & enjoy :)phone
  7. Disable IPv6 using the following commands: devel-su sysctl -w net.ipv6.conf.default.disable_ipv6=1 and devel-su sysctl -w net.ipv6.conf.default.disable_ipv6=1
  8. Add following lines:
  • net.ipv6.conf.all.disable_ipv6 = 1
  • net.ipv6.conf.default.disable_ipv6 = 1
  • net.ipv6.conf.lo.disable_ipv6 = 1

    to the IPv6 settings file: devel-su vim /etc/sysctl.d/ipv6-settings.conf

  • Check using ipleak.net that you don't leak your IP any more.

Original question: Hi,

I'm trying to configure ProtonVPN on my Sailfish OS phone but I'm having a little issue here. When I load the OVPN file in Settings and try to connect I get: "Problem with connection"

So I tried it from the command line: "openvpn ch-01.protonvpn.com.udp1194.ovpn" which gave me the following error:

Options error: --up script fails with '/etc/openvpn/update-resolv-conf': No such file or directory

[how-to] ProtonVPN on Sailfish OS

How to use ProtonVPN on Sailfish OS

EDIT: Added info on how to avoid IPv6 and DNS leaksleaks since VPN is now out of beta since 2.2.0 and stable enough for daily use

  1. Log into your ProtonVPN account.
  2. Go to "Downloads" and select "DD-WRT router" as platform, protocol may be UDP or TCP.
  3. Select a server you want to connect to.
  4. Download the OVPN file and import it in Settings -> VPN -> OpenVPN -> Import file
  5. Go to "Account" in ProtonVPN for your credentials and copy them into the input boxes on your phone.
  6. Click "Connect" on your phone
  7. Disable IPv6 using the following commands: devel-su sysctl -w net.ipv6.conf.default.disable_ipv6=1 and devel-su sysctl -w net.ipv6.conf.default.disable_ipv6=1
  8. Add following lines:
  • net.ipv6.conf.all.disable_ipv6 = 1
  • net.ipv6.conf.default.disable_ipv6 = 1
  • net.ipv6.conf.lo.disable_ipv6 = 1

    to the IPv6 settings file: devel-su vim /etc/sysctl.d/ipv6-settings.conf

  • Check using ipleak.net that you don't leak your IP any more.

Original question: Hi,

I'm trying to configure ProtonVPN on my Sailfish OS phone but I'm having a little issue here. When I load the OVPN file in Settings and try to connect I get: "Problem with connection"

So I tried it from the command line: "openvpn ch-01.protonvpn.com.udp1194.ovpn" which gave me the following error:

Options error: --up script fails with '/etc/openvpn/update-resolv-conf': No such file or directory

[how-to] ProtonVPN on Sailfish OS

How to use ProtonVPN on Sailfish OS

EDIT: Added info on how to avoid IPv6 and DNS leaks since VPN is now out of beta since 2.2.0 and stable enough for daily use

  1. Log into your ProtonVPN account.
  2. Go to "Downloads" and select "DD-WRT router" as platform, protocol may be UDP or TCP.
  3. Select a server you want to connect to.
  4. Download the OVPN file and import it in Settings -> VPN -> OpenVPN -> Import file
  5. Go to "Account" in ProtonVPN for your credentials and copy them into the input boxes on your phone.
  6. Click "Connect" on your phone
  7. Disable IPv6 using the following commands: devel-su sysctl -w net.ipv6.conf.default.disable_ipv6=1net.ipv6.conf.all.disable_ipv6=1 and devel-su sysctl -w net.ipv6.conf.default.disable_ipv6=1
  8. Add following lines:
  • net.ipv6.conf.all.disable_ipv6 = 1
  • net.ipv6.conf.default.disable_ipv6 = 1
  • net.ipv6.conf.lo.disable_ipv6 = 1

    to the IPv6 settings file: devel-su vim /etc/sysctl.d/ipv6-settings.conf

  • Check using ipleak.net that you don't leak your IP any more.

Original question: Hi,

I'm trying to configure ProtonVPN on my Sailfish OS phone but I'm having a little issue here. When I load the OVPN file in Settings and try to connect I get: "Problem with connection"

So I tried it from the command line: "openvpn ch-01.protonvpn.com.udp1194.ovpn" which gave me the following error:

Options error: --up script fails with '/etc/openvpn/update-resolv-conf': No such file or directory