Hello beautiful people!
I have a VPN setup on my ubuntu server:
port 1194
proto tcp
dev tun
ca ca.crt
cert blaze-ubuntu.crt
key blaze-ubuntu.key
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
;mute 20
when I connect from my windows box I get this:
C:\Program Files (x86)\OpenVPN\config>openvpn client.conf
Mon Oct 01 14:13:19 2012 OpenVPN 2.2.2 Win32-MSVC++ [SSL] [LZO2] [PKCS11] built
on Dec 15 2011
Mon Oct 01 14:13:19 2012 NOTE: OpenVPN 2.1 requires '--script-security 2' or hig
her to call user-defined scripts or executables
Mon Oct 01 14:13:19 2012 LZO compression initialized
Mon Oct 01 14:13:19 2012 Control Channel MTU parms [ L:1544 D:140 EF:40 EB:0 ET:
0 EL:0 ]
Mon Oct 01 14:13:19 2012 Socket Buffers: R=[8192->8192] S=[8192->8192]
Mon Oct 01 14:13:19 2012 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 ET:
0 EL:0 AF:3/1 ]
Mon Oct 01 14:13:19 2012 Local Options hash (VER=V4): '69109d17'
Mon Oct 01 14:13:19 2012 Expected Remote Options hash (VER=V4): 'c0103fa8'
Mon Oct 01 14:13:19 2012 Attempting to establish TCP connection with 70.52.22.61
:1194
Mon Oct 01 14:13:19 2012 TCP connection established with 70.52.22.61:1194
Mon Oct 01 14:13:19 2012 TCPv4_CLIENT link local: [undef]
Mon Oct 01 14:13:19 2012 TCPv4_CLIENT link remote: 70.52.22.61:1194
Mon Oct 01 14:13:19 2012 TLS: Initial packet from 70.52.22.61:1194, sid=aa678d79
af310f37
Mon Oct 01 14:13:20 2012 VERIFY OK: depth=1, /C=CA/ST=QC/L=Montreal/O=Stolen-Hom
e/OU=ChinChinChina/CN=blaze/name=ChinChin/emailAddress=bbfukyou420@live.com
Mon Oct 01 14:13:20 2012 VERIFY OK: nsCertType=SERVER
Mon Oct 01 14:13:20 2012 VERIFY OK: depth=0, /C=CA/ST=QC/L=Montreal/O=Stolen-Hom
e/OU=ChinChinChina/CN=blaze-ubuntu/name=ChinChin/emailAddress=bbfukyou420@live.c
om
Mon Oct 01 14:13:21 2012 Data Channel Encrypt: Cipher 'BF-CBC' initialized with
128 bit key
Mon Oct 01 14:13:21 2012 Data Channel Encrypt: Using 160 bit message hash 'SHA1'
for HMAC authentication
Mon Oct 01 14:13:21 2012 Data Channel Decrypt: Cipher 'BF-CBC' initialized with
128 bit key
Mon Oct 01 14:13:21 2012 Data Channel Decrypt: Using 160 bit message hash 'SHA1'
for HMAC authentication
Mon Oct 01 14:13:21 2012 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES2
56-SHA, 1024 bit RSA
Mon Oct 01 14:13:21 2012 [blaze-ubuntu] Peer Connection Initiated with 70.52.22.
61:1194
Mon Oct 01 14:13:24 2012 SENT CONTROL [blaze-ubuntu]: 'PUSH_REQUEST' (status=1)
Mon Oct 01 14:13:24 2012 PUSH: Received control message: 'PUSH_REPLY,route 10.8.
0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5'
Mon Oct 01 14:13:24 2012 OPTIONS IMPORT: timers and/or timeouts modified
Mon Oct 01 14:13:24 2012 OPTIONS IMPORT: --ifconfig/up options modified
Mon Oct 01 14:13:24 2012 OPTIONS IMPORT: route options modified
Mon Oct 01 14:13:24 2012 ROUTE default_gateway=10.0.2.2
Mon Oct 01 14:13:24 2012 TAP-WIN32 device [Local Area Connection 2] opened: \\.\
Global\{54139465-DBA9-4B28-86B0-8774575A7E57}.tap
Mon Oct 01 14:13:24 2012 TAP-Win32 Driver Version 9.9
Mon Oct 01 14:13:24 2012 TAP-Win32 MTU=1500
Mon Oct 01 14:13:24 2012 Notified TAP-Win32 driver to set a DHCP IP/netmask of 1
0.8.0.6/255.255.255.252 on interface {54139465-DBA9-4B28-86B0-8774575A7E57} [DHC
P-serv: 10.8.0.5, lease-time: 31536000]
Mon Oct 01 14:13:24 2012 Successful ARP Flush on interface [17] {54139465-DBA9-4
B28-86B0-8774575A7E57}
Mon Oct 01 14:13:29 2012 TEST ROUTES: 1/1 succeeded len=1 ret=1 a=0 u/d=up
Mon Oct 01 14:13:29 2012 C:\WINDOWS\system32\route.exe ADD 10.8.0.1 MASK 255.255
.255.255 10.8.0.5
Mon Oct 01 14:13:29 2012 ROUTE: route addition failed using CreateIpForwardEntry
: The object already exists. [status=5010 if_index=17]
Mon Oct 01 14:13:29 2012 Route addition via IPAPI failed [adaptive]
Mon Oct 01 14:13:29 2012 Route addition fallback to route.exe
The route addition failed: The object already exists.
Mon Oct 01 14:13:29 2012 Initialization Sequence Completed
The problem is that I can ping the tun0 interface from Windows but my internet is not going through the VPN!
Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::2d49:d5ff:8f78:7c75%17
IPv4 Address. . . . . . . . . . . : 10.8.0.6
Subnet Mask . . . . . . . . . . . : 255.255.255.252
Default Gateway . . . . . . . . . :
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : mentel.com
Link-local IPv6 Address . . . . . : fe80::c087:455e:160d:9e66%10
IPv4 Address. . . . . . . . . . . : 10.0.2.15
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.0.2.2
As you can see I have no default gateway on my VPN interface... I have been searching everywhere and can't find the answer to my problems... I want to be able to connect to my vpn and have the internet go through it. PLEASE HELP!
Thanks