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

    Acess branch office from my remote pc

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 641 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.
    • S
      sami.mkaddem
      last edited by

      Hi everyone,

      I have two sites HQ (Head Quater) and BO (Branch Office).

      I set up Site- to-Site connection between the HQ (running OpenVPN server) and the BO (running Client OpenVPN) using TUN connection. Everything is fine. I can ping from either LAN to the other with no problem.

      I added another instance of OpenVPN for remote access on the HQ site. Now, I can ping from my remote pc the LAN of HQ, but I can't ping the LAN of BO.

      What do I have to do to access the LAN of the BO?

      Thanks for any help.

      --Sami

      JKnottJ 1 Reply Last reply Reply Quote 0
      • JKnottJ
        JKnott @sami.mkaddem
        last edited by

        @sami-mkaddem

        You'll need to add static routes to send the data back from the branch office.

        PfSense running on Qotom mini PC
        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
        UniFi AC-Lite access point

        I haven't lost my mind. It's around here...somewhere...

        S 1 Reply Last reply Reply Quote 0
        • S
          sami.mkaddem @JKnott
          last edited by

          @jknott HQ LAN is 10.0.1.0/24 and BO LAN is 10.0.2.0/24 with tunnel network 172.16.1.0/30.
          From any HQ pc, I can ping any BO pc and vice versa. No problem is here.

          However from home pc, I can ping any HQ pc but can't ping any pc on BO pc. Note the tunnel network is 172.16.2.0/24.

          Where should the static routing be done?

          Thank you very much.

          J 1 Reply Last reply Reply Quote 0
          • J
            Jarhead @sami.mkaddem
            last edited by

            @sami-mkaddem
            You need to add the subnets to the OpenVPN configs.
            On the RA server, add the BO subnet as a local network.
            On the BO client, add the RA tunnel network as a remote network.
            All done in the VPN config's.

            1 Reply Last reply Reply Quote 0
            • S
              sami.mkaddem
              last edited by

              Wow. It works like a charm. THANK YOU VERY MUCH.

              Sami

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