Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Can't connect to OpenVPN running on pfsense server from a Raspberry Pi 4

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 104 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      timcin
      last edited by

      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=debian

      How do I get around this?

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @timcin
        last edited by

        @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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.