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

    Route all Internet Traffic through OpenVPN

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 3 Posters 1.8k 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.
    • M
      mystycs
      last edited by

      How do I route all my internet traffic through my OpenVPN connection?

      I have a site to site OpenVPN setup.

      Site A is connected to pfsense via LAN to its WAN on Site B.

      1 Reply Last reply Reply Quote 0
      • J
        Jamerson
        last edited by

        you need to force all the traffic to go thought the Gateway of site B,

        1 Reply Last reply Reply Quote 0
        • M
          Mr. Jingles
          last edited by

          @Jamerson:

          you need to force all the traffic to go thought the Gateway of site B,

          I had to smile  ;D

          (Because: I know this is how 'tech guys talk to each other. Just like we economists can say three words and understand each other. Whereas non-economics respond with 'what kind of disease???' ( ;D ;D ;D )).

          So, to add to your response: create a firewall rule, and scroll down to to the bottom where 'gateway' is; there you will see your VPN-gateway. Select, save, reset states (optionally: reboot), and it should work.

          Example:

          source: LAN-net, destination: *, gateway: <your vpn-gateway="">.</your>

          6 and a half billion people know that they are stupid, agressive, lower life forms.

          1 Reply Last reply Reply Quote 0
          • M
            mystycs
            last edited by

            I am confused, i dont see that option. I am setting a firewall rule on site b on LAN side. But in gateway all i see is WAN

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