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

    Open VPN: can't ping local LAN host when connected

    Scheduled Pinned Locked Moved OpenVPN
    12 Posts 3 Posters 1.5k Views 3 Watching
    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.
    • V Offline
      viragomann @jen_fernandez
      last edited by

      @jen_fernandez said in Open VPN: can't ping local LAN host when connected:

      The Server tunnel Subnet: 176.16.0.0/24
      The Client Tunnel Subnet: 172.17.0.0/24

      Where have you stated the Client tunnel subnet?
      There is no need for that.

      In the OpenVPN server settings add the local network into the "Local Network/s" box.

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        jen_fernandez @viragomann
        last edited by

        @viragomann

        Thanks viragomann.
        I was told by Netgate support that the Client and Server tunnel subnet needed to be different... so I will test your option. I will remove the client subnet and will add the local LAN under Server settings.
        I can't try until later tonight when I am near the device and can connect to LAN port.
        Much appreciated... will test at 6:30pm Eastern time.
        Thanks
        Jen

        1 Reply Last reply Reply Quote 0
        • J Offline
          jen_fernandez
          last edited by

          Hi Viragomann!
          I removed the client tunnel subnet (172.17.0.0/24) in the settings.
          I ensured that the IPv4 Local network on the server settings had 192.168.1.0/24..
          but i still can't ping the 192.168.1.0
          Where is this GW exactly? If I am giving out DHCP Addresses from LAN port.. does this LAN port have two IP addresses.. one as 172.16.0.1 and 192.168.1.0? In the System Wizard.. i set up the LAN interface as 192.168.1.1... is this a conflict?

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            jen_fernandez @jen_fernandez
            last edited by

            To Anyone -I still need help!
            I have the Server Tunnel: 172.16.0.0/24
            I have the Local LAN (configured on the Server) 192.168.1.0/24
            I tried pinging the default GW of both of these subnets when the LAN port is connected to my laptop.. all good.
            Then I tried pinging the 192.168.1.1 GW from the locallan host: 192.168.1.52 - success.

            I connected with Open VPN and received a Client IP of 172.16.0.2
            I could successfully ping both 172.16.0.1 and 192.168.1.1 from CMD prompt of external client computer when VPN is connected.
            However, I can't ping the localLAN host of 192.168.1.52 from the external client when open VPN is connected.. this failed.. Times out.
            Do you see an obvious red flag?

            1 Reply Last reply Reply Quote 0
            • J Offline
              jen_fernandez
              last edited by

              To Anyone:
              I saw that i was on client was on Device Mode: Layer 2 Tap Mode.
              I changed this to Tunnel Mode; Layer 3.
              So, every time i make a change.. i download the client export package (with new configs) and then disconnect opEn VPN.. then re-install openVPN client package again. Is this correct? just checking

              1 Reply Last reply Reply Quote 0
              • J Offline
                jen_fernandez
                last edited by

                To : Anyone
                I tried to add the new Client Export package and noticed that the configs kept with TAP mode- for client side.. so it didn't take the change of tunnel mode.
                How do i change settings on Open VPN client?

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jen_fernandez
                  last edited by

                  I have removed the openVPN in WIndows 10 Programs and Features (uninstall).. then re-installed the client package and it still wanted TAP mode.. failed

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jen_fernandez
                    last edited by

                    I think i have chosen the incorrect type of open VPN.
                    I have tried Remote Access Server VPN and Peer-to-Peer SSL/TLS VPN
                    All I want to do is set up a simple client VPN.. for external clients to have access to the internal network - which type of VPN is best for this?

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

                      Use an OpenVPN access server in tun mode and don’t care about the clients mode.

                      Ensure that the pfSense is the default gateway in the LAN 192.168.1.0/24 and that it doesn’t overlap with the clients LAN

                      1 Reply Last reply Reply Quote 0
                      • RicoR Offline
                        Rico LAYER 8 Rebel Alliance
                        last edited by

                        https://docs.netgate.com/pfsense/en/latest/vpn/openvpn/openvpn-remote-access-server.html
                        https://www.netgate.com/resources/videos/remote-access-vpns-on-pfsense.html
                        https://www.netgate.com/resources/videos/remote-access-vpns-on-pfsense-part-2.html

                        -Rico

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          jen_fernandez
                          last edited by

                          Thanks Rico. I already had and used the first set of instructions.
                          I'm watching the first video now.

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