Server Side: More message when the openvpn command was executed.
root@OpenWrt:~# openvpn --ifconfig 10.200.0.1 10.200.0.2 --dev tun --secret secr
et.key
Sun Nov 24 18:27:01 2013 OpenVPN 2.2.2 mips-openwrt-linux [SSL] [LZO2] [EPOLL] built on Mar 14 2013
Sun Nov 24 18:27:01 2013 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Sun Nov 24 18:27:01 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Sun Nov 24 18:27:01 2013 TUN/TAP device tun0 opened
Sun Nov 24 18:27:01 2013 /sbin/ifconfig tun0 10.200.0.1 pointopoint 10.200.0.2 mtu 1500
Sun Nov 24 18:27:01 2013 UDPv4 link local (bound): [undef]:1194
Sun Nov 24 18:27:01 2013 UDPv4 link remote: [undef]
Sun Nov 24 18:38:45 2013 Peer Connection Initiated with 218.250.7.110:59085
Sun Nov 24 18:38:45 2013 Initialization Sequence Completed
複製代碼
From the server side, we ping the remote client virtual ip address 10.200.0.2
root@OpenWrt:~# ping -c 4 10.200.0.2
PING 10.200.0.2 (10.200.0.2): 56 data bytes
64 bytes from 10.200.0.2: seq=0 ttl=64 time=7.178 ms
64 bytes from 10.200.0.2: seq=1 ttl=64 time=7.936 ms
64 bytes from 10.200.0.2: seq=2 ttl=64 time=6.849 ms
64 bytes from 10.200.0.2: seq=3 ttl=64 time=6.353 ms
--- 10.200.0.2 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss