Test Ping clarification required

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
katvis
OpenVpn Newbie
Posts: 2
Joined: Tue Mar 27, 2012 7:15 am

Test Ping clarification required

Post by katvis » Tue Mar 27, 2012 7:38 am

Hi
I am new to OpenVPN. I need to verify that I understand the ping test correctly.

I have setup 2 Linux machines.

The Server starts up the VPN link and opens a tun device with:
inet addr:10.0.1.1 P-t-P:10.0.1.2 Mask:255.255.255.255

Then I start the Client and it creates a tun device with tun0 local 10.0.1.6 peer 10.0.1.5

I found that can can ping the server from the client when using an IP of 10.0.1.1 and from the server I can ping 10.0.1.6.
I cannot ping from the client 10.0.1.5, the 'peer' IP.

Is this the working or what?
This means I should ignore the p-to-p IP of 10.0.1.5?

Thanks

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: Test Ping clarification required

Post by janjust » Tue Mar 27, 2012 9:30 am

this is normal behaviour for the default 'net30' mode. the P-t-P remote endpoint is not pingable, but it IS needed for the VPN to function correctly.
You can also switch to 'topology subnet' mode to assign only a single IP to a client.

katvis
OpenVpn Newbie
Posts: 2
Joined: Tue Mar 27, 2012 7:15 am

Re: Test Ping clarification required

Post by katvis » Wed Mar 28, 2012 7:43 am

Thanks very much for the quick response. :D

Post Reply