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

    Interneet traffic on open vpn

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 Posts 3 Posters 338 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.
    • A
      andrewslqueiroz
      last edited by

      Good Morning!

      I have an open vpn on pfsense, it is not a site-to-site it is only from the company for clients, and when I access a client's vpn I see that the public internet ip and all internet traffic is going out through the company, and I would like this traffic to leave the internet link of the person himself, and that only the internal network traffic would go to the VPN, would it be possible?

      Thank you!

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

        @andrewslqueiroz
        Usually if the whole client traffic is going over the tunnel, the server pushes the default route to the client.
        If you don't want this, go into the server settings and remove the checks at "Redirect Gateway" and enter your local networks which the clients should be able to access into the "Local network(s)" box.

        Additionally to make the client able to access internet addresses over the tunnel, you may have add an outbound NAT rule for the source of VPN tunnel network manually. You should remove this rule again.

        robert321R 1 Reply Last reply Reply Quote 0
        • robert321R
          robert321 @viragomann
          last edited by

          @viragomann super helpful thank you!

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