maikcat wrotelogs show that tun interfaces should come up with ip
is selinux part of ubuntu?
Seems yes, both Debian and Ubuntu.
Douglas wroteGo a bit higher on verb for the logs like verb 5. Obviously something is interfering.
Onthe client, Check around /var/log like messages and syslog to see if there are any errors.
I see nothing special here:
Enter Auth Password:
Mon Feb 18 20:07:45 2013 us=987080 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Mon Feb 18 20:07:45 2013 us=988667 LZO compression initialized
Mon Feb 18 20:07:45 2013 us=988853 Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Mon Feb 18 20:07:45 2013 us=988952 Socket Buffers: R=[163840->131072] S=[163840->131072]
Mon Feb 18 20:07:45 2013 us=992367 RESOLVE: NOTE: jenny.vpntunnel.se resolves to 5 addresses
Mon Feb 18 20:07:45 2013 us=994108 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Mon Feb 18 20:07:45 2013 us=994229 Local Options String: 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Mon Feb 18 20:07:45 2013 us=994370 Expected Remote Options String: 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Mon Feb 18 20:07:45 2013 us=994452 Local Options hash (VER=V4): '41690919'
Mon Feb 18 20:07:45 2013 us=994630 Expected Remote Options hash (VER=V4): '530fdded'
Mon Feb 18 20:07:45 2013 us=994703 UDPv4 link local: [undef]
Mon Feb 18 20:07:45 2013 us=994758 UDPv4 link remote: [AF_INET]178.73.212.242:7003
WRMon Feb 18 20:07:46 2013 us=11003 TLS: Initial packet from [AF_INET]178.73.212.242:7003, sid=4c3e9e13 2591ee57
WWWWRRRWRWRWRWRWRWRWRWRWRWRWRWRWRWRWRWRWRWRWRWRWRWRWRWRWRWRMon Feb 18 20:07:46 2013 us=129365 VERIFY OK: depth=1, /C=SE/ST=Stockholm/L=Stockholm/O=Vpntunnel.se/OU=changeme/CN=changeme/name=changeme/emailAddress=info@vpntunnel.se
Mon Feb 18 20:07:46 2013 us=130764 VERIFY OK: nsCertType=SERVER
Mon Feb 18 20:07:46 2013 us=130797 VERIFY OK: depth=0, /C=SE/ST=Stockholm/L=Stockholm/O=vpntunnel.se/OU=changeme/CN=server/name=changeme/emailAddress=info@vpntunnel.se
WRWRWRWRWRWRWRWRWWWWRRRRWRWRWWWWRRRRWRWRMon Feb 18 20:07:46 2013 us=318699 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Mon Feb 18 20:07:46 2013 us=318729 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Feb 18 20:07:46 2013 us=318769 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Mon Feb 18 20:07:46 2013 us=318778 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
WMon Feb 18 20:07:46 2013 us=318800 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Mon Feb 18 20:07:46 2013 us=318822 [server] Peer Connection Initiated with [AF_INET]178.73.212.242:7003
Mon Feb 18 20:07:48 2013 us=721454 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
WRRWRWRMon Feb 18 20:07:48 2013 us=735454 PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS 80.67.0.2,dhcp-option DNS 91.213.246.2,redirect-gateway def1,route-gateway 5.254.138.65,topology subnet,ping 10,ping-restart 160'
Mon Feb 18 20:07:48 2013 us=735527 OPTIONS IMPORT: timers and/or timeouts modified
Mon Feb 18 20:07:48 2013 us=735536 OPTIONS IMPORT: --ifconfig/up options modified
Mon Feb 18 20:07:48 2013 us=735543 OPTIONS IMPORT: route options modified
Mon Feb 18 20:07:48 2013 us=735549 OPTIONS IMPORT: route-related options modified
Mon Feb 18 20:07:48 2013 us=735555 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Mon Feb 18 20:07:48 2013 us=735645 ROUTE default_gateway=93.100.126.1
Mon Feb 18 20:07:48 2013 us=736052 TUN/TAP device tun0 opened
Mon Feb 18 20:07:48 2013 us=736068 TUN/TAP TX queue length set to 100
Mon Feb 18 20:07:48 2013 us=736102 /sbin/route add -net 178.73.212.242 netmask 255.255.255.255 gw 93.100.126.1
Mon Feb 18 20:07:48 2013 us=740711 /sbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 5.254.138.65
SIOCADDRT: No such process
Mon Feb 18 20:07:48 2013 us=742389 ERROR: Linux route add command failed: external program exited with error status: 7
Mon Feb 18 20:07:48 2013 us=742512 /sbin/route add -net 128.0.0.0 netmask 128.0.0.0 gw 5.254.138.65
SIOCADDRT: No such process
Mon Feb 18 20:07:48 2013 us=744674 ERROR: Linux route add command failed: external program exited with error status: 7
Mon Feb 18 20:07:48 2013 us=744780 Initialization Sequence Completed
WWRWRWRRWRWRWRWRWWRWRRWRWRWRWWRRWWRRWWRWRRW^CMon Feb 18 20:11:26 2013 us=262270 event_wait : Interrupted system call (code=4)
Mon Feb 18 20:11:26 2013 us=263062 TCP/UDP: Closing socket
Mon Feb 18 20:11:26 2013 us=263161 /sbin/route del -net 178.73.212.242 netmask 255.255.255.255
Mon Feb 18 20:11:26 2013 us=266101 /sbin/route del -net 0.0.0.0 netmask 128.0.0.0
SIOCDELRT: No such process
Mon Feb 18 20:11:26 2013 us=269012 ERROR: Linux route delete command failed: external program exited with error status: 7
Mon Feb 18 20:11:26 2013 us=269151 /sbin/route del -net 128.0.0.0 netmask 128.0.0.0
SIOCDELRT: No such process
Mon Feb 18 20:11:26 2013 us=271493 ERROR: Linux route delete command failed: external program exited with error status: 7
Mon Feb 18 20:11:26 2013 us=271603 Closing TUN/TAP interface
Mon Feb 18 20:11:26 2013 us=290987 SIGINT[hard,] received, process exiting
But that's snippet from
/var/log/syslog exactly after I entered the password:
Feb 18 20:07:48 manny NetworkManager[1000]: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/tun0, iface: tun0)
Feb 18 20:07:48 manny NetworkManager[1000]: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/tun0, iface: tun0): no ifupdown configuration found.
I can't figure out what's it means. All I googled about this error is tying with Cisco.