pfsense as OpenVPN server only



  • 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!


  • Rebel Alliance Developer Netgate

    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.