After following this guide and connecting to the VPN Server, I get the following error:
Sat Mar 06 19:43:08 2010 us=127000 NOTE: failed to obtain options consistency info from peer -- this could occur if the remote peer is running a version of OpenVPN before 1.5-beta8 or if there is a network connectivity problem, and will not necessarily prevent OpenVPN from running (0 bytes received from peer, 0 bytes authenticated data channel traffic) -- you can disable the options consistency check with --disable-occ.
I am using Archlinux and installed openvpn with Pacman.
I want to acheive the following: Connect to the VPN Server, being able to route certain made up hosts through it.
Is this possible?
openvpn --version
gives me the following
openvpn --version
OpenVPN 2.1.1 i686-pc-linux-gnu [SSL] [LZO2] [EPOLL] built on Jan 31 2010
Originally developed by James Yonan
Copyright (C) 2002-2009 OpenVPN Technologies, Inc. <[email protected]>
Suggestions?
That guide is flawed, it has the wrong port on the client config, they should both be 1194.
You should fix that, and then run
on the server to verify that packets from the client are even reaching the server.
I used another guide and had the same error message. In the first step I could assure that packets are arriving at the server (by using tcpdump). The verbose log files stated that after some received packets there were no more received.
At the end the firewall on the server was the problem. This firewall was blocking packets in iptables FORWARD chain. Therefore all packets which were addressed directly to the firewall (external ip) could be processed but packets in the tunnel were blocked because these are handled by FOWARD chain.