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
Test Ping clarification required
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.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Tue Mar 27, 2012 7:15 am
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: Test Ping clarification required
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.
You can also switch to 'topology subnet' mode to assign only a single IP to a client.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Tue Mar 27, 2012 7:15 am
Re: Test Ping clarification required
Thanks very much for the quick response.