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

    [Solved] use openVPN partially

    Scheduled Pinned Locked Moved OpenVPN
    5 Posts 3 Posters 641 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.
    • D
      deleted
      last edited by deleted

      Hi,

      I am looking for a configuration solution for a hybrid use of an openVPN client.

      All configurations I have found are based on the fact that the complete traffic runs over the VPN. Outbound Rule for NAT.
      I would like to be able to define which interface or port runs over VPN and which does not.

      I hope you have all the necessary information.
      Do you understand what I mean?

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        This is just a simple policy route. Just don't pull routes from the vpn provider, and then just route your traffic out the vpn interface however you want..

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • RicoR
          Rico LAYER 8 Rebel Alliance
          last edited by

          https://www.netgate.com/resources/videos/openvpn-as-a-wan-on-pfsense.html

          -Rico

          D 2 Replies Last reply Reply Quote 1
          • D
            deleted @Rico
            last edited by

            @Rico

            That looks good! Thanks for the link. I will test it.

            1 Reply Last reply Reply Quote 0
            • D
              deleted @Rico
              last edited by deleted

              Hello,

              The solution in this video worked very well for my configuration.

              @rico said in [Solved] use openVPN partially:

              https://www.netgate.com/resources/videos/openvpn-as-a-wan-on-pfsense.html

              -Rico

              was something changed in the routing after the video was published?

              I want to use this solution in version 21.02.2-RELEASE (amd64).
              However, I can no longer use - as 2.4.xx was possible different gateways.

              Currently everything is routed via VPN. If I specify the WAN gateway, I no longer have a connection.

              I have rebuilt everything 1:1 for testing.

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