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

    OpenVPN lan2lan does not route the remote network

    Scheduled Pinned Locked Moved OpenVPN
    5 Posts 3 Posters 1.1k 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
      decibel83
      last edited by

      Hi.
      I setted up an OpenVPN lan2lan connection between 2 pfSense hosts.
      The client is pfSense 2.1.1 and the server is 2.2.2.
      I correctly setted up the remote networks on the client and the local and remote networks on the server.
      The client can access to all server's local networks, but the server cannot reach the client's local LAN.
      On the server i haven't the route to the client's local network, and if I try to traceroute it I see that it tries to go through the default gateway (WAN).
      Have I to create a static route on the server?
      Thank you very much!

      1 Reply Last reply Reply Quote 0
      • D
        divsys
        last edited by

        Post a screenshot of your server and client setup screens.

        The creation of the necessary route should be automatic when you create the OpenVpn server under 2.2.2

        Any chance of updating the 2.1.1 box up to 2.2.2?
        Shouldn't really matter, but it's another variable to eliminate.

        -jfp

        1 Reply Last reply Reply Quote 0
        • DerelictD
          Derelict LAYER 8 Netgate
          last edited by

          Or at least 2.1.5.

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

          1 Reply Last reply Reply Quote 0
          • D
            decibel83
            last edited by

            Thank you very much for your answer!
            An upgrade is planned for the next month.
            Now I restarted the VPN and the routes works both ways…  :o :o :o

            1 Reply Last reply Reply Quote 0
            • D
              divsys
              last edited by

              Never gives one much confidence when things "just start working", but I hate to argue with success!

              That said, I've had a few scenarios while debugging OpenVpn issues that required a "hard restart" of the OpenVPN server (find and kill the process or reboot the box).

              If learned over the years to be a little more diligent with checking the OpenVPN changes I make to ensure they actually get applied when I think they do.

              Glad you got it up and running.

              -jfp

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