xyus 0 Posted ... i got some problem when running openvpn client in openvz ( yes i use vps from vps provider ) here's the log Thu Feb 4 02:32:03 2016 OpenVPN 2.3.4 x86_64-pc-linux-gnu [sSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [iPv6] built on Dec 1 2014Thu Feb 4 02:32:03 2016 library versions: OpenSSL 1.0.1k 8 Jan 2015, LZO 2.08Thu Feb 4 02:32:03 2016 Control Channel Authentication: tls-auth using INLINE static key fileThu Feb 4 02:32:03 2016 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authenticationThu Feb 4 02:32:03 2016 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authenticationThu Feb 4 02:32:03 2016 Socket Buffers: R=[133120->131072] S=[133120->131072]Thu Feb 4 02:32:03 2016 UDPv4 link local: [undef]Thu Feb 4 02:32:03 2016 UDPv4 link remote: [AF_INET]103.254.153.68:443Thu Feb 4 02:32:03 2016 TLS: Initial packet from [AF_INET]103.254.153.68:443, sid=f873aa7a 9298d072Thu Feb 4 02:32:05 2016 VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.orgThu Feb 4 02:32:05 2016 Validating certificate key usageThu Feb 4 02:32:05 2016 ++ Certificate has key usage 00a0, expects 00a0Thu Feb 4 02:32:05 2016 VERIFY KU OKThu Feb 4 02:32:05 2016 Validating certificate extended key usageThu Feb 4 02:32:05 2016 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server AuthenticationThu Feb 4 02:32:05 2016 VERIFY EKU OKThu Feb 4 02:32:05 2016 VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=server, emailAddress=info@airvpn.orgThu Feb 4 02:32:09 2016 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit keyThu Feb 4 02:32:09 2016 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authenticationThu Feb 4 02:32:09 2016 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit keyThu Feb 4 02:32:09 2016 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authenticationThu Feb 4 02:32:09 2016 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 4096 bit RSAThu Feb 4 02:32:09 2016 [server] Peer Connection Initiated with [AF_INET]103.254.153.68:443Thu Feb 4 02:32:11 2016 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)Thu Feb 4 02:32:11 2016 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 10.4.0.1,comp-lzo no,route-gateway 10.4.0.1,topology subnet,ping 10,ping-restart 60,ifconfig 10.4.18.231 255.255.0.0'Thu Feb 4 02:32:11 2016 OPTIONS IMPORT: timers and/or timeouts modifiedThu Feb 4 02:32:11 2016 OPTIONS IMPORT: LZO parms modifiedThu Feb 4 02:32:11 2016 OPTIONS IMPORT: --ifconfig/up options modifiedThu Feb 4 02:32:11 2016 OPTIONS IMPORT: route options modifiedThu Feb 4 02:32:11 2016 OPTIONS IMPORT: route-related options modifiedThu Feb 4 02:32:11 2016 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modifiedThu Feb 4 02:32:11 2016 ROUTE_GATEWAY ON_LINK IFACE=venet0 HWADDR=00:00:00:00:00:00Thu Feb 4 02:32:11 2016 TUN/TAP device tun0 openedThu Feb 4 02:32:11 2016 TUN/TAP TX queue length set to 100Thu Feb 4 02:32:11 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0Thu Feb 4 02:32:11 2016 /sbin/ip link set dev tun0 up mtu 1500Thu Feb 4 02:32:11 2016 /sbin/ip addr add dev tun0 10.4.18.231/16 broadcast 10.4.255.255Thu Feb 4 02:32:17 2016 /sbin/ip route add 103.254.153.68/32 via 0.0.0.0RTNETLINK answers: No such deviceThu Feb 4 02:32:17 2016 ERROR: Linux route add command failed: external program exited with error status: 2Thu Feb 4 02:32:17 2016 /sbin/ip route add 0.0.0.0/1 via 10.4.0.1Thu Feb 4 02:32:17 2016 /sbin/ip route add 128.0.0.0/1 via 10.4.0.1Thu Feb 4 02:32:17 2016 Initialization Sequence CompletedThu Feb 4 02:33:11 2016 [server] Inactivity timeout (--ping-restart), restartingThu Feb 4 02:33:11 2016 SIGUSR1[soft,ping-restart] received, process restarting and result for if config and route -e ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:3478743 errors:0 dropped:0 overruns:0 frame:0 TX packets:3478743 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:27925379432 (26.0 GiB) TX bytes:27925379432 (26.0 GiB) tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:10.4.18.231 P-t-P:10.4.18.231 Mask:255.255.0.0 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:1593242 errors:0 dropped:1591364 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:0 (0.0 TX bytes:2388504630 (2.2 GiB) venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:127.0.0.2 P-t-P:127.0.0.2 Bcast:0.0.0.0 Mask:255.255.255.255 UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1 RX packets:566926339 errors:0 dropped:0 overruns:0 frame:0 TX packets:745983612 errors:0 dropped:535 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:418499861274 (389.7 GiB) TX bytes:875112015177 (815.0 GiB) venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:185.69.xx.xxx P-t-P:185.69.xx.xxx Bcast:185.69.xx.xxx Mask:255.255.255.255 UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1 Destination Gateway Genmask Flags MSS Window irtt Iface Destination Gateway Genmask Flags MSS Window irtt Iface 10.4.0.0 * 255.255.0.0 U 0 0 0 tun0 default 10.4.0.1 128.0.0.0 UG 0 0 0 tun0 128.0.0.0 10.4.0.1 128.0.0.0 UG 0 0 0 tun0 default * 0.0.0.0 U 0 0 0 venet0 Quote Share this post Link to post