I just set up Openvpn version 2.3.2 from the EPEL repo on CentOS 6.5 64bit and I cannot seem to connect to it from my Manjaro (arch linux based) client. I followed this guide for the server and client and have double checked to make sure I did everything right (
http://www.unixmen.com/setup-openvpn-server-client-centos-6-5/). I tried doing a test on the client (client and host are on the same router/subnet) machine by running the command "openvpn /etc/openvpn/client.conf" and I got back this
Mon May 26 13:09:12 2014 OpenVPN 2.3.4 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on May 3 2014
Mon May 26 13:09:12 2014 library versions: OpenSSL 1.0.1g 7 Apr 2014, LZO 2.06
Mon May 26 13:09:12 2014 WARNING: file 'client.key' is group or others accessible
Mon May 26 13:09:12 2014 Socket Buffers: R=[212992->131072] S=[212992->131072]
Mon May 26 13:09:12 2014 UDPv4 link local: [undef]
Mon May 26 13:09:12 2014 UDPv4 link remote: [AF_INET]192.168.12.137:1194
Mon May 26 13:09:12 2014 TLS: Initial packet from [AF_INET]192.168.12.137:1194, sid=cb66c9ed 07d7ca00
Mon May 26 13:09:12 2014 VERIFY OK: depth=1, C=US, ST=CA, L=California, O=epc1, OU=epc1-data, CN=netw CA, name=EasyRSA, emailAddress=info@suprememhost
Mon May 26 13:09:12 2014 VERIFY OK: nsCertType=SERVER
Mon May 26 13:09:12 2014 VERIFY OK: depth=1, C=US, ST=CA, L=California, O=epc1, OU=epc1-data, CN=netw CA, name=EasyRSA, emailAddress=info@suprememhost
Mon May 26 13:09:12 2014 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Mon May 26 13:09:12 2014 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon May 26 13:09:12 2014 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Mon May 26 13:09:12 2014 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon May 26 13:09:12 2014 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Mon May 26 13:09:12 2014 [server] Peer Connection Initiated with [AF_INET]192.168.12.137:1194
Mon May 26 13:09:14 2014 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Mon May 26 13:09:14 2014 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 8.8.8.8,dhcp-option DNS 8.8.4.4,route 10.8.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5'
Mon May 26 13:09:14 2014 OPTIONS IMPORT: timers and/or timeouts modified
Mon May 26 13:09:14 2014 OPTIONS IMPORT: --ifconfig/up options modified
Mon May 26 13:09:14 2014 OPTIONS IMPORT: route options modified
Mon May 26 13:09:14 2014 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Mon May 26 13:09:14 2014 ROUTE_GATEWAY 192.168.1.1/255.255.255.0 IFACE=enp7s0 HWADDR=MYHWADDRESSHERE
Mon May 26 13:09:14 2014 ERROR: Cannot ioctl TUNSETIFF tun: Operation not permitted (errno=1)
Mon May 26 13:09:14 2014 Exiting due to fatal error
When I try running "openvpn /etc/openvpn/server.conf" on the server that hosts the openvpn server I get this in return
Mon May 26 13:19:17 2014 OpenVPN 2.3.2 x86_64-redhat-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [eurephia] [MH] [IPv6] built on Sep 12 2013
Mon May 26 13:19:17 2014 Diffie-Hellman initialized with 2048 bit key
Mon May 26 13:19:17 2014 Socket Buffers: R=[124928->131072] S=[124928->131072]
Mon May 26 13:19:17 2014 TCP/UDP: Socket bind failed on local address [undef]: Address already in use
Mon May 26 13:19:17 2014 Exiting due to fatal error