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

    Cant ping back my IP in OpenVPN

    Scheduled Pinned Locked Moved OpenVPN
    5 Posts 3 Posters 1.3k 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.
    • C Offline
      clint08
      last edited by

      Ive created an OpenVPN using pfsense as server and a ddwrt as client vpn.
      my vpn is working but i do have problem in accessing host in other way around
      info:

      -pfsense openvpn server has an IP of 192.168.50.254 and all his range for lan IP 192.168.50.0/24 .
      -my client vpn (ddwrt router) has an IP of 192.168.5.1 and all his range lan IP is in 192.168.5.0/24. 
      -my tunnel IP range is 10.8.0.0/24

      when im connected in my client vpn network i can ping/access the sites in 192.168.50.0/24 (that means openvpn is working)
      but my problem is when im connect in OpenVPN server side(192.168.50.0/24) i cant ping any in my client vpn (192.168.5.0/24).
      though i can ping my tunnel IP 10.8.0.0/24.

      as what i observed when i used tracert to 192.168.5.0/24 in my openVPN server side, the route is going outside in ISP and NOT going through in the tunnel IP.  thats why it cant find any in 192.168.5.0/24.

      need help to access my vpn client host. thanks. pls correct me if something wrong .

      1 Reply Last reply Reply Quote 0
      • B Offline
        bienicc
        last edited by

        Hi,

        Please check your OpenVPN setting on server site, whether you put "192.168.5.0/24" as IPv4 Remote network(s). This will add Client's subnet to routing table of OpenVPN server, so it will not go to your ISP.

        1 Reply Last reply Reply Quote 0
        • C Offline
          clint08
          last edited by

          192.168.50.0/24 is the subnet in server site and 192.168.5.0/24
          i just add the 192.168.50.0/24 in remote acess but when i try to add 192.168.6.0/24 the ddwrt router cant connect with the vpn.
          image below is my config of server also my routing table

          routes.PNG
          routes.PNG_thumb
          ![server settings.PNG](/public/imported_attachments/1/server settings.PNG)
          ![server settings.PNG_thumb](/public/imported_attachments/1/server settings.PNG_thumb)
          ![server setting2.PNG](/public/imported_attachments/1/server setting2.PNG)
          ![server setting2.PNG_thumb](/public/imported_attachments/1/server setting2.PNG_thumb)
          ![server setting3.PNG](/public/imported_attachments/1/server setting3.PNG)
          ![server setting3.PNG_thumb](/public/imported_attachments/1/server setting3.PNG_thumb)

          1 Reply Last reply Reply Quote 0
          • C Offline
            clint08
            last edited by

            *correction 192.168.50.0/24 is in server site and 192.168.5.0/24 is in client site

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

              anyone have a solution for this? I've got the same problem but I'm using Asus Merlin router instead of dd-wrt.

              I do have the IPv4 remote network setup right (include local and remote LAN IP).

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