How to OVPN Bookworm64

Moderator: Forum moderators

Post Reply
User avatar
FloraMae
Posts: 71
Joined: Thu May 02, 2024 3:13 am
Has thanked: 11 times
Been thanked: 15 times

How to OVPN Bookworm64

Post by FloraMae »

This may be modified to work on other puppies but I only tested this on Bookworm64.

The openvpn service in question: https://www.ovpn.com/

The Debian openvpn instructions they give: https://www.ovpn.com/en/guides/debian

Those instructions for the most part work. Here is how I did it.

Code: Select all

apt-get update && apt-get upgrade && apt-get install openvpn

In my case I selected Add-on service none, Country USA, Region all, protocol UDP.

It then showed me this command to run:

Code: Select all

cd /tmp && wget https://files.ovpn.com/ubuntu_cli/ovpn-us-adb.zip && unzip ovpn-us-adb.zip && mkdir -p /etc/openvpn && mv config/* /etc/openvpn && chmod +x /etc/openvpn/update-resolv-conf && rm -rf config && rm -f ovpn-us-adb.zip

Then issue the commands it says concerning your credentials.

If the following command result looks right then it works:

Code: Select all

openvpn --config /etc/openvpn/ovpn.conf --daemon

Bookworm64 doesn't have systemctl but it does have service.

Code: Select all

service openvpn start     # Starts OpenVPN and connects to OVPN
service openvpn stop               # Stops OpenVPN
service openvpn restart           # Restarts OpenVPN
service openvpn status           # Shows status for OpenVPN

It seems openvpn gets set to start at boot but it seems you can check this via
start menu > Setup > PupControl >> System tab then Boot-Services Manager
and look for openvpn

==================
Just to be sure I didn't miss anything, if anyone is using Bookworm64 and OVPN service and follow these instructions, reply to let me know if any issues happened
==================

Post Reply

Return to “Network/Server”