Page 1 of 1

OpenVPN cannot ping host in LAN

Posted: Thu Jan 21, 2016 4:46 am
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

Re: OpenVPN cannot ping host in LAN

Posted: Thu Jan 21, 2016 5:10 am
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

Re: OpenVPN cannot ping host in LAN

Posted: Mon Jan 25, 2016 5:42 pm
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

Re: OpenVPN cannot ping host in LAN

Posted: Tue Jan 26, 2016 2:19 pm
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

Re: OpenVPN cannot ping host in LAN

Posted: Mon Feb 15, 2016 7:29 am
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?