Hi,
I am currently sharing my WIFI connection with somebody who live in the same house.
I would like to secure my access to the internet for professional reasons, actually I don't want him to access my data in clear using wireshark or anything like that.
As I have two computers always running in the same time (professional reasons), I want to use one of my computer as a VPN server (this one is connected in ethernet, so it is not subject to sniffing), and I want to use the other one (using WIFI) as a VPN client ... to securely access the internet throught wifi and using a ssh tunnel.
I first started by installing openvpn on my two computers (both ubuntu systems) and configured one as a server (after having carefully generated the keys and accound and so on). I configured the other one as a client.
But when I launch openvpn on the client side, I get this output:
Tue Jan 27 19:54:51 2015 OpenVPN 2.2.1 x86_64-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Dec 1 2014
Tue Jan 27 19:54:51 2015 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue Jan 27 19:54:51 2015 WARNING: file 'asus.key' is group or others accessible
Tue Jan 27 19:54:51 2015 LZO compression initialized
Tue Jan 27 19:54:51 2015 Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Tue Jan 27 19:54:51 2015 Socket Buffers: R=[212992->131072] S=[212992->131072]
Tue Jan 27 19:54:51 2015 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Tue Jan 27 19:54:51 2015 Local Options hash (VER=V4): '41690919'
Tue Jan 27 19:54:51 2015 Expected Remote Options hash (VER=V4): '530fdded'
Tue Jan 27 19:54:51 2015 NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
Tue Jan 27 19:54:51 2015 UDPv4 link local: [undef]
Tue Jan 27 19:54:51 2015 UDPv4 link remote: [AF_INET]192.168.1.35:1194
Tue Jan 27 19:54:51 2015 TLS: Initial packet from [AF_INET]192.168.1.35:1194, sid=9c9a3f9b dd375cf0
Tue Jan 27 19:54:51 2015 VERIFY OK: depth=1, /C=FR/ST=ARD/L=Lablachere/O=BoulotMis/OU=MOI/CN=azmodai/name=azmodai/emailAddress=alef@tuxfamily.org
Tue Jan 27 19:54:51 2015 VERIFY OK: nsCertType=SERVER
Tue Jan 27 19:54:51 2015 VERIFY OK: depth=0, /C=FR/ST=ARD/L=Lablachere/O=BoulotMis/OU=changeme/CN=server/name=BOULOTMIS/emailAddress=azmodai.paul@gmail.com
Tue Jan 27 19:54:51 2015 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Tue Jan 27 19:54:51 2015 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Jan 27 19:54:51 2015 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Tue Jan 27 19:54:51 2015 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Jan 27 19:54:51 2015 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Tue Jan 27 19:54:51 2015 [server] Peer Connection Initiated with [AF_INET]192.168.1.35:1194
Tue Jan 27 19:54:54 2015 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Tue Jan 27 19:54:54 2015 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'
Tue Jan 27 19:54:54 2015 OPTIONS IMPORT: timers and/or timeouts modified
Tue Jan 27 19:54:54 2015 OPTIONS IMPORT: --ifconfig/up options modified
Tue Jan 27 19:54:54 2015 OPTIONS IMPORT: route options modified
Tue Jan 27 19:54:54 2015 ROUTE default_gateway=192.168.1.1
Tue Jan 27 19:54:54 2015 TUN/TAP device tun2 opened
Tue Jan 27 19:54:54 2015 TUN/TAP TX queue length set to 100
Tue Jan 27 19:54:54 2015 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Tue Jan 27 19:54:54 2015 /sbin/ifconfig tun2 10.8.0.6 pointopoint 10.8.0.5 mtu 1500
Tue Jan 27 19:54:54 2015 /sbin/route add -net 10.8.0.1 netmask 255.255.255.255 gw 10.8.0.5
SIOCADDRT: File exists
Tue Jan 27 19:54:54 2015 ERROR: Linux route add command failed: external program exited with error status: 7
Tue Jan 27 19:54:54 2015 GID set to nogroup
Tue Jan 27 19:54:54 2015 UID set to nobody
Tue Jan 27 19:54:54 2015 Initialization Sequence Completed
and ping 10.8.0.1 is not working as well.
Do you know what could be the problem ?
Thanks !