Can't connect to OpenVPN running on pfsense server from a Raspberry Pi 4
-
I've got remote Windows 11 and Ubuntu workstations remotely accessing my openvpn server but I can't get a Raspberry Pi to connect.
I've looked all over and haven't found 1 article or post on how to do this. I want to setup a Raspberry Pi 4B at a remote site to be able to access my OpenVPN server on my pfsense appliance. I've installed openvpn on the Pi and tried the *.ovpn config generated on the pfsense along with the certificates just like on the Ubuntu workstations. This is what I get:
sudo systemctl enable openvpn@client.service
The unit files have no installation config (WantedBy=, RequiredBy=, Also=,
Alias= settings in the [Install] section, and DefaultInstance= for template
units). This means they are not meant to be enabled using systemctl.Possible reasons for having this kind of units are:
• A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
• A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
• A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
• In case of template units, the unit is meant to be enabled with some
instance name specified.The Raspberry PI version is:
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debianHow do I get around this?
-
@timcin
This issue cannot has nothing to do with pfSense. So this is the wrong place to request support for it.
You should ask in a Raspy forum, how to enable an OpenVPN client service.