And i can tried pinging from 192.168.1.1(Router) and it's pinging but not
pinging from 192.168.1.5 server.

Regards,
Ganapathi


On Tue, Mar 5, 2019 at 11:24 PM Selva Nair <selva.n...@gmail.com> wrote:

> HI,
>
> On Tue, Mar 5, 2019 at 6:56 AM <ganapathi...@gmail.com> wrote:
>
>> Hi,
>>
>>
>>
>> As I recently installed openvpn on Ubuntu server. And somewhat configured
>> the client to connect the server successfully.
>>
>>
>>
>> Openvpn Version : 2.4.4
>>
>> Server : Ubuntu 18.04
>>
>>
>>
>> Openvpn Server LAN IP : 192.168.1.2
>>
>> LAN Network : 192.168.1.0/24
>>
>> Router IP : 192.168.1.1 - pfsense
>>
>> TUN0 Network : 10.8.0.0/24
>>
>> VPN Server IP : 10.8.0.1
>>
>> VPN Client IP : 10.8.0.2
>>
>>
>>
>> *Pfsense Router Routing* :
>>
>>
>>
>>    - Port Forwarded to 192.168.1.2 for port number 1194.
>>    - Created 192.168.1.2 – Gateway for Network 10.8.0.0/24.
>>
>>
> Does that mean you added a route on the router with target 10.8.0.0/24
> via 192.168.1.2? If yes, sounds good, else fix it.
> To test that, ping 10.8.0.1 from hosts within the server-side LAN -- e.g.,
> from 192.168.1.1 and 192.168.1.5.
>
> *Ping* :
>>
>> 10.8.0.2 à 192.168.1.2 = SUCCESS
>>
>> 10.8.0.2 à 192.168.1.5 = Fail
>>
>
> This could be due to either
> ip-forward is not enabled on the server (the first ping's SUCCESS does not
> confirm that)
> or
> the route for 10.8.0.0/24 via 192.168.1.2 mentioned above is not set up
> on the router.
>
> If both of those are in place, check your firewall(s).
>
> By the way, your server side LAN uses a common subnet (192.168.1.0/24)
> --- easy to cause a conflict with client side LANs.
>
> Selva
>
>
>
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to