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

    Redirecting all traffic through the tunnel

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 455 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.
    • L
      lrossi
      last edited by

      I have a question about how to properly setup OpenVPN in my pFsense box.

      When i check/enable “Force all client-generated IPv4 traffic through the tunnel”, the option to define the “IPv4 Local networks” just disappears.

      Without this last option, how can I specify which local networks are reachable by VPN clients?

      Don't get me wrong, it's currently working, i just don't understand why or how.

      Am I overthinking an non-issue again?

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

        @lrossi said in Redirecting all traffic through the tunnel:

        When i check/enable “Force all client-generated IPv4 traffic through the tunnel”, the option to define the “IPv4 Local networks” just disappears.

        Both options only add routes on the client pointing to the virtual server IP.
        The first one adds the default route, the latter adds routes for each specified network.

        If the client route its whole traffic destined to outside its network to the server, this includes all local network as well, of course. So there is no need to state these additionally.

        L 1 Reply Last reply Reply Quote 0
        • L
          lrossi @viragomann
          last edited by

          @viragomann thanks for the clarification.
          There you have it, i was indeed overthinking it.

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