Yes it seems ok but I have no connection
I thought the problem came from this
Tue Sep 25 08:52:27 2012 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1542', remote='link-mtu 6042'
Tue Sep 25 08:52:27 2012 WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1500', remote='tun-mtu 6000'
so I added tun-mtu 6000 in my .ovpn file and the warning is gone.
client
dev tun
auth-user-pass
proto udp
remote u577131.nvpn.so 1194
resolv-retry infinite
nobind
persist-key
persist-tun
tun-mtu 6000
comp-lzo
ca /root/nvpn/nVPN.crt
verb 3
log after that:
Tue Sep 25 14:49:31 2012 OpenVPN 2.1.0 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Jul 20 2010
Enter Auth Username:pumpedup
Enter Auth Password:
Tue Sep 25 14:49:38 2012 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Tue Sep 25 14:49:38 2012 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue Sep 25 14:49:38 2012 LZO compression initialized
Tue Sep 25 14:49:38 2012 WARNING: normally if you use --mssfix and/or --fragment, you should also set --tun-mtu 1500 (currently it is 6000)
Tue Sep 25 14:49:38 2012 Control Channel MTU parms [ L:6042 D:138 EF:38 EB:0 ET:0 EL:0 ]
Tue Sep 25 14:49:38 2012 Data Channel MTU parms [ L:6042 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Tue Sep 25 14:49:38 2012 Local Options hash (VER=V4): 'be642dac'
Tue Sep 25 14:49:38 2012 Expected Remote Options hash (VER=V4): '1c54aba8'
Tue Sep 25 14:49:38 2012 Socket Buffers: R=[163840->131072] S=[163840->131072]
Tue Sep 25 14:49:38 2012 UDPv4 link local: [undef]
Tue Sep 25 14:49:38 2012 UDPv4 link remote: [AF_INET]192.162.102.162:1194
Tue Sep 25 14:49:38 2012 TLS: Initial packet from [AF_INET]192.162.102.162:1194, sid=39aabb90 d1dfefca
Tue Sep 25 14:49:38 2012 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Tue Sep 25 14:49:40 2012 VERIFY OK: depth=1, /C=NV/ST=NV/L=nVPN/O=nVpn/CN=nVpn_CA/emailAddress=support@nvpn.net
Tue Sep 25 14:49:40 2012 VERIFY OK: depth=0, /C=NV/ST=NV/L=nVPN/O=nVpn/CN=server/emailAddress=support@nvpn.net
Tue Sep 25 14:49:41 2012 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Tue Sep 25 14:49:41 2012 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Sep 25 14:49:41 2012 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Tue Sep 25 14:49:41 2012 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Sep 25 14:49:41 2012 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Tue Sep 25 14:49:41 2012 [server] Peer Connection Initiated with [AF_INET]192.162.102.162:1194
Tue Sep 25 14:49:43 2012 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Tue Sep 25 14:49:43 2012 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 8.8.8.8,dhcp-option DNS 8.8.8.8,route 10.102.162.1,topology net30,ping 10,ping-restart 120,ifconfig 10.102.162.6 10.102.162.5'
Tue Sep 25 14:49:43 2012 OPTIONS IMPORT: timers and/or timeouts modified
Tue Sep 25 14:49:43 2012 OPTIONS IMPORT: --ifconfig/up options modified
Tue Sep 25 14:49:43 2012 OPTIONS IMPORT: route options modified
Tue Sep 25 14:49:43 2012 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Tue Sep 25 14:49:43 2012 ROUTE default_gateway=10.0.2.2
Tue Sep 25 14:49:43 2012 TUN/TAP device tun0 opened
Tue Sep 25 14:49:43 2012 TUN/TAP TX queue length set to 100
Tue Sep 25 14:49:43 2012 /sbin/ifconfig tun0 10.102.162.6 pointopoint 10.102.162.5 mtu 6000
Tue Sep 25 14:49:43 2012 /sbin/route add -net 192.162.102.162 netmask 255.255.255.255 gw 10.0.2.2
Tue Sep 25 14:49:43 2012 /sbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 10.102.162.5
Tue Sep 25 14:49:43 2012 /sbin/route add -net 128.0.0.0 netmask 128.0.0.0 gw 10.102.162.5
Tue Sep 25 14:49:43 2012 /sbin/route add -net 10.102.162.1 netmask 255.255.255.255 gw 10.102.162.5
Tue Sep 25 14:49:43 2012 Initialization Sequence Completed
ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:78:6e:14
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe78:6e14/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4746 errors:0 dropped:0 overruns:0 frame:0
TX packets:4762 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:930374 (930.3 KB) TX bytes:520405 (520.4 KB)
Interrupt:10 Base address:0xd020
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:528 errors:0 dropped:0 overruns:0 frame:0
TX packets:528 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:38197 (38.1 KB) TX bytes:38197 (38.1 KB)
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.102.162.6 P-t-P:10.102.162.5 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:6000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.102.162.5 128.0.0.0 UG 0 0 0 tun0
0.0.0.0 10.0.2.2 0.0.0.0 UG 0 0 0 eth0
10.0.2.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
10.102.162.1 10.102.162.5 255.255.255.255 UGH 0 0 0 tun0
10.102.162.5 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
128.0.0.0 10.102.162.5 128.0.0.0 UG 0 0 0 tun0
192.162.102.162 10.0.2.2 255.255.255.255 UGH 0 0 0 eth0
Thank you