Jump to content
Not connected, Your IP: 18.119.123.10
Sign in to follow this  
murphsite

Ubuntu connection drop

Recommended Posts

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?

Thanks

murph

Share this post


Link to post

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 14747
3087 Jul 18 23:45:04 titan NetworkManager[1247]: <info> VPN service 'openvpn' appeared; activating connections
3088 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 scripts
3093 Jul 18 23:45:05 titan nm-openvpn[14750]: WARNING: file '/home/thomas/Downloads/user.key' is group or others accessible
3094 Jul 18 23:45:05 titan nm-openvpn[14750]: LZO compression initialized
3095 Jul 18 23:45:05 titan nm-openvpn[14750]: RESOLVE: NOTE: de.airvpn.org resolves to 3 addresses
3096 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:443

3098 Jul 18 23:45:06 titan nm-openvpn[14750]: [server] Peer Connection Initiated with [AF_INET]46.165.208.65:443
3099 Jul 18 23:45:08 titan nm-openvpn[14750]: TUN/TAP device tun0 opened
3100 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 init
3101 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.65
3106 Jul 18 23:45:08 titan NetworkManager[1247]: <info> Tunnel Device: tun0
3107 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.61
3109 Jul 18 23:45:08 titan NetworkManager[1247]: <info>   Internal Address: 10.4.54.62
3110 Jul 18 23:45:08 titan NetworkManager[1247]: <info>   Internal Prefix: 32
3111 Jul 18 23:45:08 titan NetworkManager[1247]: <info>   Internal Point-to-Point Address: 10.4.54.61
3112 Jul 18 23:45:08 titan NetworkManager[1247]: <info>   Maximum Segment Size (MSS): 0
3113 Jul 18 23:45:08 titan NetworkManager[1247]: <info>   Static Route: 10.4.0.1/32   Next Hop: 10.4.0.1
3114 Jul 18 23:45:08 titan NetworkManager[1247]: <info>   Forbid Default Route: no
3115 Jul 18 23:45:08 titan NetworkManager[1247]: <info>   Internal DNS: 10.4.0.1
3116 Jul 18 23:45:08 titan NetworkManager[1247]: <info>   DNS Domain: '(none)'
3117 Jul 18 23:45:08 titan NetworkManager[1247]: <info> No IPv6 configuration
3118 Jul 18 23:45:08 titan nm-openvpn[14750]: Initialization Sequence Completed
3119 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/resolvconf
3122 Jul 18 23:45:09 titan dnsmasq[1628]: setting upstream servers from DBus
3123 Jul 18 23:45:09 titan dnsmasq[1628]: using nameserver 10.4.0.1#53
3124 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.
 

Share this post


Link to post

Hello,

 

no apparent problem is showed in the logs. Does the same happen if you connect directly with OpenVPN?

 

Kind regards

Share this post


Link to post

Interesting!
When I run it manually as root, it seems to work, no hang up so far:

sudo openvpn --config AirVPN_Germany_UDP-443.ovpn
Thu 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 2013
Thu Jul 25 02:03:54 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Thu Jul 25 02:03:54 2013 LZO compression initialized
Thu 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 addresses
Thu 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:443
Thu Jul 25 02:03:54 2013 TLS: Initial packet from [AF_INET]46.165.208.65:443, sid=3750f0d5 81111afc
Thu 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.org
Thu Jul 25 02:03:54 2013 VERIFY OK: nsCertType=SERVER
Thu Jul 25 02:03:54 2013 VERIFY OK: depth=0, /C=IT/ST=IT/L=Perugia/O=airvpn.org/CN=server/emailAddress=info@airvpn.org
Thu Jul 25 02:03:55 2013 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Thu Jul 25 02:03:55 2013 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Jul 25 02:03:55 2013 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Thu Jul 25 02:03:55 2013 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Jul 25 02:03:55 2013 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Thu Jul 25 02:03:55 2013 [server] Peer Connection Initiated with [AF_INET]46.165.208.65:443
Thu 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 modified
Thu Jul 25 02:03:57 2013 OPTIONS IMPORT: LZO parms modified
Thu Jul 25 02:03:57 2013 OPTIONS IMPORT: --ifconfig/up options modified
Thu Jul 25 02:03:57 2013 OPTIONS IMPORT: route options modified
Thu Jul 25 02:03:57 2013 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Thu Jul 25 02:03:57 2013 ROUTE default_gateway=192.168.0.1
Thu Jul 25 02:03:57 2013 TUN/TAP device tun0 opened
Thu Jul 25 02:03:57 2013 TUN/TAP TX queue length set to 100
Thu Jul 25 02:03:57 2013 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Jul 25 02:03:57 2013 /sbin/ifconfig tun0 10.4.54.62 pointopoint 10.4.54.61 mtu 1500
Thu Jul 25 02:03:57 2013 /sbin/route add -net 46.165.208.65 netmask 255.255.255.255 gw 192.168.0.1
Thu Jul 25 02:03:57 2013 /sbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 10.4.54.61
Thu Jul 25 02:03:57 2013 /sbin/route add -net 128.0.0.0 netmask 128.0.0.0 gw 10.4.54.61
Thu Jul 25 02:03:57 2013 /sbin/route add -net 10.4.0.1 netmask 255.255.255.255 gw 10.4.54.61
Thu Jul 25 02:03:57 2013 Initialization Sequence Completed
 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

×
×
  • Create New...