murphsite 0 Posted ... Hi everyone, I was using AirVPN for several month now on Mac OSX with Tunnelblick and it worked flawlessly.No I have configured it on my Ubuntu laptop, all settings exactly like in the help section and here:https://airvpn.org/?option=com_kunena&Itemid=55&func=view&catid=3&id=116 It works at first, AirVPN.org website tells me I'm connected, but just after a couple of seconds, I only get timeout errors.I'm using the network-manager under Ubuntu. Any idea?Thanksmurph Quote Share this post Link to post
Staff 10014 Posted ... Hello, can you please publish the OpenVPN and network-manager logs? Kind regards Quote Share this post Link to post
murphsite 0 Posted ... syslog:---3085 Jul 18 23:45:04 titan NetworkManager[1247]: <info> Starting VPN service 'openvpn'...3086 Jul 18 23:45:04 titan NetworkManager[1247]: <info> VPN service 'openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 147473087 Jul 18 23:45:04 titan NetworkManager[1247]: <info> VPN service 'openvpn' appeared; activating connections3088 Jul 18 23:45:04 titan NetworkManager[1247]: <info> VPN plugin state changed: starting (3)3089 Jul 18 23:45:04 titan NetworkManager[1247]: <info> VPN connection 'AirVPN_Germany_UDP-443' (Connect) reply received.3090 Jul 18 23:45:05 titan nm-openvpn[14750]: OpenVPN 2.2.1 x86_64-linux-gnu [sSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [iPv6 payload 2>3091 Jul 18 23:45:05 titan nm-openvpn[14750]: WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html>3092 Jul 18 23:45:05 titan nm-openvpn[14750]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts3093 Jul 18 23:45:05 titan nm-openvpn[14750]: WARNING: file '/home/thomas/Downloads/user.key' is group or others accessible3094 Jul 18 23:45:05 titan nm-openvpn[14750]: LZO compression initialized3095 Jul 18 23:45:05 titan nm-openvpn[14750]: RESOLVE: NOTE: de.airvpn.org resolves to 3 addresses3096 Jul 18 23:45:05 titan nm-openvpn[14750]: UDPv4 link local: [undef]3097 Jul 18 23:45:05 titan nm-openvpn[14750]: UDPv4 link remote: [AF_INET]46.165.208.65:4433098 Jul 18 23:45:06 titan nm-openvpn[14750]: [server] Peer Connection Initiated with [AF_INET]46.165.208.65:4433099 Jul 18 23:45:08 titan nm-openvpn[14750]: TUN/TAP device tun0 opened3100 Jul 18 23:45:08 titan nm-openvpn[14750]: /usr/lib/NetworkManager/nm-openvpn-service-openvpn-helper tun0 1500 1558 10.4.54.62 10.4.54.61 init3101 Jul 18 23:45:08 titan NetworkManager[1247]: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/tun0, iface: tun0)3102 Jul 18 23:45:08 titan NetworkManager[1247]: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/tun0, iface: tun0): no ifupdown c>3103 Jul 18 23:45:08 titan NetworkManager[1247]: <warn> /sys/devices/virtual/net/tun0: couldn't determine device driver; ignoring...3104 Jul 18 23:45:08 titan NetworkManager[1247]: <info> VPN connection 'AirVPN_Germany_UDP-443' (IP4 Config Get) reply received from old-style plugin.3105 Jul 18 23:45:08 titan NetworkManager[1247]: <info> VPN Gateway: 46.165.208.653106 Jul 18 23:45:08 titan NetworkManager[1247]: <info> Tunnel Device: tun03107 Jul 18 23:45:08 titan NetworkManager[1247]: <info> IPv4 configuration:3108 Jul 18 23:45:08 titan NetworkManager[1247]: <info> Internal Gateway: 10.4.54.613109 Jul 18 23:45:08 titan NetworkManager[1247]: <info> Internal Address: 10.4.54.623110 Jul 18 23:45:08 titan NetworkManager[1247]: <info> Internal Prefix: 323111 Jul 18 23:45:08 titan NetworkManager[1247]: <info> Internal Point-to-Point Address: 10.4.54.613112 Jul 18 23:45:08 titan NetworkManager[1247]: <info> Maximum Segment Size (MSS): 03113 Jul 18 23:45:08 titan NetworkManager[1247]: <info> Static Route: 10.4.0.1/32 Next Hop: 10.4.0.13114 Jul 18 23:45:08 titan NetworkManager[1247]: <info> Forbid Default Route: no3115 Jul 18 23:45:08 titan NetworkManager[1247]: <info> Internal DNS: 10.4.0.13116 Jul 18 23:45:08 titan NetworkManager[1247]: <info> DNS Domain: '(none)'3117 Jul 18 23:45:08 titan NetworkManager[1247]: <info> No IPv6 configuration3118 Jul 18 23:45:08 titan nm-openvpn[14750]: Initialization Sequence Completed3119 Jul 18 23:45:09 titan NetworkManager[1247]: <info> VPN connection 'AirVPN_Germany_UDP-443' (IP Config Get) complete.3120 Jul 18 23:45:09 titan NetworkManager[1247]: <info> Policy set 'AirVPN_Germany_UDP-443' (tun0) as default for IPv4 routing and DNS.3121 Jul 18 23:45:09 titan NetworkManager[1247]: <info> Writing DNS information to /sbin/resolvconf3122 Jul 18 23:45:09 titan dnsmasq[1628]: setting upstream servers from DBus3123 Jul 18 23:45:09 titan dnsmasq[1628]: using nameserver 10.4.0.1#533124 Jul 18 23:45:09 titan NetworkManager[1247]: <info> VPN plugin state changed: started (4)3125 Jul 18 23:45:09 titan dbus[1136]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)3126 Jul 18 23:45:09 titan dbus[1136]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'3127 Jul 18 23:45:16 titan ntpdate[14807]: adjust time server 91.189.94.4 offset -0.006050 sec--- I can access about 4 URL's then, and then it breaks up.If you need other logs I would be grateful for a hint where those are, I'm new to Ubuntu. Quote Share this post Link to post
Staff 10014 Posted ... Hello, no apparent problem is showed in the logs. Does the same happen if you connect directly with OpenVPN? Kind regards Quote Share this post Link to post
murphsite 0 Posted ... Interesting!When I run it manually as root, it seems to work, no hang up so far:sudo openvpn --config AirVPN_Germany_UDP-443.ovpnThu Jul 25 02:03:54 2013 OpenVPN 2.2.1 x86_64-linux-gnu [sSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [iPv6 payload 20110424-2 (2.2RC2)] built on Feb 13 2013Thu Jul 25 02:03:54 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executablesThu Jul 25 02:03:54 2013 LZO compression initializedThu Jul 25 02:03:54 2013 Control Channel MTU parms [ L:1558 D:138 EF:38 EB:0 ET:0 EL:0 ]Thu Jul 25 02:03:54 2013 Socket Buffers: R=[212992->131072] S=[212992->131072]Thu Jul 25 02:03:54 2013 RESOLVE: NOTE: de.airvpn.org resolves to 3 addressesThu Jul 25 02:03:54 2013 Data Channel MTU parms [ L:1558 D:1450 EF:58 EB:135 ET:0 EL:0 AF:3/1 ]Thu Jul 25 02:03:54 2013 Local Options hash (VER=V4): '22188c5b'Thu Jul 25 02:03:54 2013 Expected Remote Options hash (VER=V4): 'a8f55717'Thu Jul 25 02:03:54 2013 UDPv4 link local: [undef]Thu Jul 25 02:03:54 2013 UDPv4 link remote: [AF_INET]46.165.208.65:443Thu Jul 25 02:03:54 2013 TLS: Initial packet from [AF_INET]46.165.208.65:443, sid=3750f0d5 81111afcThu Jul 25 02:03:54 2013 VERIFY OK: depth=1, /C=IT/ST=IT/L=Perugia/O=airvpn.org/CN=airvpn.org_CA/emailAddress=info@airvpn.orgThu Jul 25 02:03:54 2013 VERIFY OK: nsCertType=SERVERThu Jul 25 02:03:54 2013 VERIFY OK: depth=0, /C=IT/ST=IT/L=Perugia/O=airvpn.org/CN=server/emailAddress=info@airvpn.orgThu Jul 25 02:03:55 2013 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit keyThu Jul 25 02:03:55 2013 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authenticationThu Jul 25 02:03:55 2013 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit keyThu Jul 25 02:03:55 2013 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authenticationThu Jul 25 02:03:55 2013 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSAThu Jul 25 02:03:55 2013 [server] Peer Connection Initiated with [AF_INET]46.165.208.65:443Thu Jul 25 02:03:57 2013 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)Thu Jul 25 02:03:57 2013 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 10.4.0.1,comp-lzo no,route 10.4.0.1,topology net30,ping 10,ping-restart 60,ifconfig 10.4.54.62 10.4.54.61'Thu Jul 25 02:03:57 2013 OPTIONS IMPORT: timers and/or timeouts modifiedThu Jul 25 02:03:57 2013 OPTIONS IMPORT: LZO parms modifiedThu Jul 25 02:03:57 2013 OPTIONS IMPORT: --ifconfig/up options modifiedThu Jul 25 02:03:57 2013 OPTIONS IMPORT: route options modifiedThu Jul 25 02:03:57 2013 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modifiedThu Jul 25 02:03:57 2013 ROUTE default_gateway=192.168.0.1Thu Jul 25 02:03:57 2013 TUN/TAP device tun0 openedThu Jul 25 02:03:57 2013 TUN/TAP TX queue length set to 100Thu Jul 25 02:03:57 2013 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0Thu Jul 25 02:03:57 2013 /sbin/ifconfig tun0 10.4.54.62 pointopoint 10.4.54.61 mtu 1500Thu Jul 25 02:03:57 2013 /sbin/route add -net 46.165.208.65 netmask 255.255.255.255 gw 192.168.0.1Thu Jul 25 02:03:57 2013 /sbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 10.4.54.61Thu Jul 25 02:03:57 2013 /sbin/route add -net 128.0.0.0 netmask 128.0.0.0 gw 10.4.54.61Thu Jul 25 02:03:57 2013 /sbin/route add -net 10.4.0.1 netmask 255.255.255.255 gw 10.4.54.61Thu Jul 25 02:03:57 2013 Initialization Sequence Completed Quote Share this post Link to post