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

    How to route VPN client traffic over tunnel?

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 2.3k 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
      mddubs
      last edited by

      My pfSense box is running as an OpenVPN client and OpenVPN server.

      The client tunnel connects our network (192.168.1.1/24) to a remote network (10.10.10.10/24) and works just fine.

      The server allows remote users to connect to our network while on the go, and works just fine.

      How can I route/forward traffic from remote users through the tunnel so they can also access 10.10.10.10/24 resources?  I've added push "route 10.10.10.10 255.255.255.0" to the server config and I see the route come through on clients, but pings fail.

      1 Reply Last reply Reply Quote 0
      • Cry HavokC
        Cry Havok
        last edited by

        You have to ensure that the remote network knows how to route to your network. That is usually simplest if the default gateway is also the VPN server. Otherwise add a static route to the default gateways on each network.

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

          Thank you!  In my OpenVPN server.conf I needed to add the appropriate route and iroute ccd entries, like the Thelonious example.

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