Cant ping back my IP in OpenVPN
-
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/24when 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 .
-
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.
-
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
![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) -
*correction 192.168.50.0/24 is in server site and 192.168.5.0/24 is in client site
-
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).