OpenVPN cannot ping host in LAN

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

Post Reply
joekajoeka
Posts: 2
Joined: Thu Jan 21, 2016 4:04 am

OpenVPN cannot ping host in LAN

Post by joekajoeka »

Hy,
I recently installed Gargoyle on my WR1043ND V1.8 to use the OpenVPN.
I installed the firmware connect to the internet via pppoe, and started the OpenVPN server and generated first certificate with options enabled:

1 - Allow Clients to communicate with each other
2 - Allow clients to access host on LAN

I have 3 PC in my home network and a USB stick attached to the router and shared.

My problem is that when i connect from my phone to the OpenVPN server i can reach only the USB stick and cannot see the other PC's.
I am able to ping over VPN the 192.168.1.1, i cand reach over VPN the Gargoyle GUI (192.168.1.1), but cannot ping the 3 PC's on my network.
I have nothing modified, i am a newbie to OpenVPN/Gargoyle/Networking.

I have attached some capture maybe this will help.

Please help why i cannot access the other PC's shared drives over VPN in my LAN.
I think it is routing problem but why? i have routing from the 10.8.0.1 to the 192.168.1.1, i don't understand. The internet is working on the VPN.


Image
Image
Image
Image
Image

ispyisail
Moderator
Posts: 5212
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: OpenVPN cannot ping host in LAN

Post by ispyisail »

umm

I use this setup all the time?

I use a PC using this client software

https://openvpn.net/index.php/open-sour ... loads.html

fattyboom
Posts: 2
Joined: Sun Jan 10, 2016 2:32 am

Re: OpenVPN cannot ping host in LAN

Post by fattyboom »

try adding this port forward

Firewall - port forward
description - VPN
protocol - UDP or Both
From Port - 1194
To IP 10.8.0.1
To Port 1194
add - save changes
reboot the router
Draytek DV130 PPPOE Passthough
2x Acher C7 V2 - 1x gargoyle 1.9.0 (router) and 1x stock firmware (WiFi AP)
1x UniFi Pro

joekajoeka
Posts: 2
Joined: Thu Jan 21, 2016 4:04 am

Re: OpenVPN cannot ping host in LAN

Post by joekajoeka »

Thank you for your feedback but it has not worked.
I have attached some pictures you can see that my PC that i switched on has a dynamic address of 192.168.1.163 and i am connected to the VPN from my android phone LG G4, and can not PING the PC, but i can ping the 192.168.1.1 (the router itself) i don't understand .
I have a capture for the firewall modification, but it has no effect.
About a month ago i used DD-WRT with ppptp connection, with just a username and a password, and i was able to see all my PC's in my home network.
I switched to Gargoyle and OpenVPN since it is more secure, but i am facing this problem.
You can see that Gargoyle recognize the VPN connection with my LG G4 "unknown" and has the IP address 10.8.0.2.
I don't know what to check, i think it is a routing problem but i am not smart enough to trace the problem. :cry:
Please help...




Image

Image

Image

Image

andreic
Posts: 3
Joined: Mon Feb 15, 2016 5:51 am

Re: OpenVPN cannot ping host in LAN

Post by andreic »

I had a similar issue, but my setup is different.

I have a Netgear WNDR3700v2 acting as my Internet Gateway (running Gargoyle 1.8.1).

I have a Linksys WRT1900AC acting as a WAP (Gargoyle 1.9.X).

I am running openvpn server on the WRT1900AC. The Gateway has port forwarding to send openvpn to the WRT1900AC.

I could connect via openvpn from my Macbook successfully. I could connect to the WRT1900AC gargoyle webpage but could not reach any other devices on my LAN.

In my setup:
- LAN = 192.168.1.0/24 (Gateway = 192.168.1.1, WRT1900AC-WAP = 192.168.1.2)
- openvpn server network = 10.8.0.0/24 (server = 10.8.0.1, macbook = 10.8.0.2)

My issue was resolved by putting a static route on my internet gateway.
10.8.0.0/24 -> 192.168.1.2


From your description, I don't think a static route should be required.


You can't reach you other LAN devices, but can you access the internet via the VPN?

Post Reply