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

    OpenVPN on one interface

    Scheduled Pinned Locked Moved OpenVPN
    5 Posts 3 Posters 1.2k 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.
    • S
      stevoid
      last edited by

      Hey PFers

      I was following the guide below and was wondering if anyone knows how to limit PIA to one interface? I don't want it on my main LAN but only on my LAB interface. Following the guide and changing the options only for the LAB does nothing. When I have the OPENVPN client enabled the LANs internet stops working.

      thanks for any tips! :-)

      Steve

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

        I'm missing the guide.  ::)

        Modify your LAB outgoing rule to use the PIA gateway and the LAN rules to use defeault gateway.

        1 Reply Last reply Reply Quote 0
        • S
          stevoid
          last edited by

          Whoops! Forgot to paste the URL in.

          https://forum.pfsense.org/index.php?topic=76015.0

          I'll try your idea tonight when I get home!

          1 Reply Last reply Reply Quote 0
          • H
            heper
            last edited by

            check "Don't pull routes". that way the default gateway will not be overwritten by PIA.

            you then have to add policy routing to your lab rules

            1 Reply Last reply Reply Quote 0
            • S
              stevoid
              last edited by

              @heper:

              check "Don't pull routes". that way the default gateway will not be overwritten by PIA.

              you then have to add policy routing to your lab rules

              Is that the check box in the OpenVPN client page? I've recreated the NAT rules for the LAB network.

              Thanks for the help :)

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