Dear Mimiko,
Thank you for your response!
Yes, I run it as root(Ubuntu is installed on the VirtualBox):
----------------------
root@ubuntu:/etc/openvpn# openvpn --config client.conf
Thu Oct 6 10:11:30 2011 OpenVPN 2.1.0 i686-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Jul 12 2010
Thu Oct 6 10:11:30 2011 WARNING: file 'authinfo' is group or others accessible
Thu Oct 6 10:11:30 2011 WARNING: No server certificate verification method has been enabled. See
http://openvpn.net/howto.html#mitm for more info.
Thu Oct 6 10:11:30 2011 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Thu Oct 6 10:11:38 2011 UDPv4 link local (bound): [undef]
Thu Oct 6 10:11:38 2011 UDPv4 link remote: [AF_INET]178.74.248.230:1194
Thu Oct 6 10:11:38 2011 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Thu Oct 6 10:11:39 2011 [Test-Server] Peer Connection Initiated with [AF_INET]178.74.248.230:1194
Thu Oct 6 10:11:41 2011 TUN/TAP device tap0 opened
Thu Oct 6 10:11:41 2011 /sbin/ifconfig tap0 10.8.0.2 netmask 255.255.255.0 mtu 1500 broadcast 10.8.0.255
Thu Oct 6 10:11:41 2011 Initialization Sequence Completed
----------------------
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
178.74.248.230 10.0.2.2 255.255.255.255 UGH 0 0 0 eth0
188.72.65.190 10.0.2.2 255.255.255.255 UGH 0 0 0 eth0
10.8.0.0 0.0.0.0 255.255.255.0 U 0 0 0 tap0
10.0.2.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
0.0.0.0 10.8.0.1 128.0.0.0 UG 0 0 0 tap0
128.0.0.0 10.8.0.1 128.0.0.0 UG 0 0 0 tap0
0.0.0.0 10.0.2.2 0.0.0.0 UG 0 0 0 eth0
----------------------
ifconfig -a
eth0 Link encap:Ethernet HWaddr 08:00:27:34:45:c4
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe34:45c4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5144 errors:0 dropped:0 overruns:0 frame:0
TX packets:4410 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3902985 (3.9 MB) TX bytes:396734 (396.7 KB)
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:34 errors:0 dropped:0 overruns:0 frame:0
TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2515 (2.5 KB) TX bytes:2515 (2.5 KB)
tap0 Link encap:Ethernet HWaddr 6e:c5:87:54:08:e7
inet addr:10.8.0.2 Bcast:10.8.0.255 Mask:255.255.255.0
inet6 addr: fe80::6cc5:87ff:fe54:8e7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13 errors:0 dropped:0 overruns:0 frame:0
TX packets:187 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1448 (1.4 KB) TX bytes:17912 (17.9 KB)
----------------------
Server log:
Thu Oct 6 09:11:34 2011 us=112540 MULTI: multi_create_instance called
Thu Oct 6 09:11:34 2011 us=112611 188.72.65.190:49752 Re-using SSL/TLS context
Thu Oct 6 09:11:34 2011 us=112681 188.72.65.190:49752 Control Channel MTU parms [ L:1569 D:138 EF:38 EB:0 ET:0 EL:0 ]
Thu Oct 6 09:11:34 2011 us=112698 188.72.65.190:49752 Data Channel MTU parms [ L:1569 D:1450 EF:37 EB:4 ET:32 EL:0 ]
Thu Oct 6 09:11:34 2011 us=112738 188.72.65.190:49752 Local Options String: 'V4,dev-type tap,link-mtu 1569,tun-mtu 1532,proto UDPv4,cipher BF-CBC,auth MD5,keysize 128,key-method 2,tls-server'
Thu Oct 6 09:11:34 2011 us=112751 188.72.65.190:49752 Expected Remote Options String: 'V4,dev-type tap,link-mtu 1569,tun-mtu 1532,proto UDPv4,cipher BF-CBC,auth MD5,keysize 128,key-method 2,tls-client'
Thu Oct 6 09:11:34 2011 us=112771 188.72.65.190:49752 Local Options hash (VER=V4): 'feb7a98f'
Thu Oct 6 09:11:34 2011 us=112789 188.72.65.190:49752 Expected Remote Options hash (VER=V4): '8ad20e80'
RThu Oct 6 09:11:34 2011 us=112824 188.72.65.190:49752 TLS: Initial packet from [AF_INET]188.72.65.190:49752, sid=277fca13 a485dcd1
WRRWWWWRWRWRWRWRWRWRWRWRWRWRWRWRWRWRWRWRWRWRRRRWRWWWRRRWRWRWRAUTH-PAM: BACKGROUND: received command code: 0
AUTH-PAM: BACKGROUND: USER: user
AUTH-PAM: BACKGROUND: my_conv[0] query='Password: ' style=1
Thu Oct 6 09:11:35 2011 us=286162 188.72.65.190:49752 PLUGIN_CALL: POST /usr/lib/openvpn/openvpn-auth-pam.so/PLUGIN_AUTH_USER_PASS_VERIFY status=0
Thu Oct 6 09:11:35 2011 us=286211 188.72.65.190:49752 TLS: Username/Password authentication succeeded for username 'user' [CN SET]
Thu Oct 6 09:11:35 2011 us=286392 188.72.65.190:49752 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Thu Oct 6 09:11:35 2011 us=286409 188.72.65.190:49752 Data Channel Encrypt: Using 128 bit message hash 'MD5' for HMAC authentication
Thu Oct 6 09:11:35 2011 us=286466 188.72.65.190:49752 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Thu Oct 6 09:11:35 2011 us=286481 188.72.65.190:49752 Data Channel Decrypt: Using 128 bit message hash 'MD5' for HMAC authentication
WWWRRRThu Oct 6 09:11:35 2011 us=393554 188.72.65.190:49752 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA
Thu Oct 6 09:11:35 2011 us=393607 188.72.65.190:49752 [user] Peer Connection Initiated with [AF_INET]188.72.65.190:49752
Thu Oct 6 09:11:35 2011 us=407576 user/188.72.65.190:49752 OPTIONS IMPORT: reading client specific options from: /etc/openvpn/client-configs/user
RThu Oct 6 09:11:37 2011 us=412276 user/188.72.65.190:49752 PUSH: Received control message: 'PUSH_REQUEST'
Thu Oct 6 09:11:37 2011 us=412351 user/188.72.65.190:49752 SENT CONTROL [user]: 'PUSH_REPLY,redirect-gateway def1,route-gateway 10.8.0.1,ping 10,ping-restart 60,ifconfig 10.8.0.2 255.255.255.0' (status=1)
WWWRRRThu Oct 6 09:11:37 2011 us=750515 user/188.72.65.190:49752 MULTI: Learn: 6e:c5:87:54:08:e7 -> user/188.72.65.190:49752
wRwRwRwRwRwRwRwRwRwRwRwRwRwRwRwRwRwRwRwRwRwRwRwRwRwRwRwRwRwRwRwRwRwRwRWwWRWRRWWRWRWRWRWRWR
Please let me know if you need anything else.