NavigationContentFooter
Jump toSuggest an edit

Fix broken VPN when switching OpenVPN Instance to routed IP

Reviewed on 11 October 2024Published on 11 October 2024

When switching an Instance created with the OpenVPN InstantApp to routed IP, the configured VPN will fail to work after the reboot. This is caused by a bug in a script that has been fixed on newer versions of the OpenVPN image.

This can now be fixed by installing a new version of the OpenVPN scripts, which has been packaged in Scaleway’s stable PPA and contains the fixed script.

You can also avoid this situation altogether by installing the package prior to moving to a routed IP.

Your Instance has not been rebooted

  1. Add Scaleway’s stable PPA
add-apt-repository ppa:scaleway/stable
  1. Add the scaleway-ovpn-scripts package containing the new scripts
apt -y install scaleway-ovpn-scripts

From this point on, your Instance may be safely rebooted and you will no longer lose VPN functionality.

Your Instance has rebooted and the VPN service no longer works.

  1. Add Scaleway’s stable PPA
add-apt-repository ppa:scaleway/stable
  1. Add the scaleway-ovpn-scripts package containing the new scripts
apt -y install scaleway-ovpn-scripts
  1. Reboot your Instance.

Once rebooted, your VPN service will be available.

Important

OpenVPN images published after November 9th 2023 already contain the fixed script and do not need to be modified.

API DocsScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCareers
© 2023-2024 – Scaleway