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

    pfsense as OpenVPN server only

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 817 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.
    • Z
      zayar86
      last edited by

      Hi Everyone,

      I have a very simple home business network and I would like to set up a pfsense box as an OpenVPN only server behind the modem with only 1 NIC.

      I would like one of my employees to be able to connect to the VPN server and access the NAS.

      My questions are:

      1. once port forwarding is set up, do I need to set up static routing too? If so, do I set it up on the modem or the pfsense box?

      2. Do I use LAN or WAN port on pfsense?

      3. Do I need to set up any additional configurations?

      If someone could point me in the right direction, I would really appreciate it.

      Thanks in advanced everyone!

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        1. Yes. The modem/edge router will need a static route pointing the VPN client subnet back to pfSense
        2. When there is only one interface it is WAN
        3. That's a bit vague, but in general you'll still need a few things. pfSense will have to use the modem for its default gateway, you'll need firewall rules on pfSense to pass the VPN traffic in WAN and OpenVPN tab rules to pass VPN traffic in there.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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