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

    Port forward a device, which is exclude from a whole network VPN setup through selective routing.

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 Posts 2 Posters 499 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.
    • E
      eliaselof
      last edited by

      I followed Setting up PIA VPN on pfSense for your whole network and Configuring Selective Routing by Lawrence System (https://www.youtube.com/watch?v=ov-xddVpxhc). Almost everything worked as excepted. The only problem was that I could not get port forwarding to work, it worked perfectly fine before I dabbled with the “VPN stuff”. I.e., I want to have a server outside of the VPN part of the network, which I can access remotely.

      My current firewall rules for WAN, which is working when VPN-client is not enabled.
      60eaac18-c8fe-4812-9f8b-71971099f194-image.png

      Outbound NAT setup from the video, my setup looked the same before I reverted my pfSense config to one without a VPN-client enabled.
      b70cdf61-4428-450e-9532-fcddaa79d6c5-image.png

      Firewall rule to exclude computer form VPN.
      94db8c02-453e-4a41-b5ef-7af70819d9f5-image.png

      Thanks, in advance!
      Best regards, Elias, a pfSense beginner.

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

        @eliaselof
        If you have added policy routing rules as shown in the video, simply go into the OpenVN client settings and check "Don't pull routes".

        E 1 Reply Last reply Reply Quote 1
        • E
          eliaselof @viragomann
          last edited by

          @viragomann Thanks for the help! Everything works perfectly now!

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