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

    Routing openvpn clients between two networks

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

      Hi.

      I have two networks A: 192.168.1.0/24 and B: 192.168.2.0/24 linked with a site to site openvpn connection, and everything works ok. You can reach from both networks the other network. The pfsense on network A works as the server, and the pfsense on network B works as client. The virtual networks is 10.0.1.0/24

      But I've created a new openvpn server on network B, and the clients connected can't reach network A. The virtual pool at the openvpn server is 10.0.2.0/24

      I'm not sure if I need to add a static route or what. Any ideas?

      Thanks!

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

        You have to add the network information to the servers for adding needed routes.

        On the client access server on B add 192.168.1.0/24 to the "Remote Networks".
        On A site add the access servers tunnel network (10.0.2.0/24) to the "Remote Networks" in the site-to-site server settings.

        1 Reply Last reply Reply Quote 0
        • A
          asanjuan
          last edited by

          Thanks viragomann.

          I've forgot to add 10.0.2.0/24 on the site-to-site server.

          It works now, thanks!!

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