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

    site to site vpn: how to access from VPN Server the client LAN devices

    Scheduled Pinned Locked Moved OpenVPN
    7 Posts 2 Posters 686 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
      lonmarlon
      last edited by lonmarlon

      i would like to access the devices on the lan client side from the lan side of the vpn Server
      from client i can access the lan side of the vpn server

      can anyone give me a hint how to do this? thanks in advance!

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

        @lonmarlon
        Ensure your VPN tunnel mask is /30.

        Set the "Remote Networks" properly on both sites.

        Permit the access by firewall rule on the clients LAN and on the servers VPN interface.

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

          @viragomann thanks mate it already works, but i noticed the ssh didnt, i was able to ping LAN from both sides.

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

            @lonmarlon
            Are both OpenVPN endpoints the default gateways in their local network?

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

              @viragomann how to i do that mate?

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

                @lonmarlon
                That was a simple question. Nothing to do here, just respond.

                You have an OpenVPN server in a network. Is this the default gateway in this network?

                You have an OpenVPN client in another network. Is this the default gateway in this other network?

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

                  @viragomann sorry for trouble mate, i figured out the problem, it's the etc/hosts.allow of the server

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