OpenVZ Forum


Home » General » Support » Unable to run OpenVPN - "openvpn --mktun --dev tap0" fails
Re: Unable to run OpenVPN - "openvpn --mktun --dev tap0" fails [message #22384 is a reply to message #22375] Fri, 26 October 2007 19:11 Go to previous messageGo to previous message
tomfra is currently offline  tomfra
Messages: 28
Registered: September 2007
Junior Member
I am not an "OpenVPN guru", but it would be helpful if you could post the full server & client config files if they differ from the examples I posted.

If I understand it correctly - the 192.168.0.0/24 IPs are used by your "real" network adapter and the 192.168.201.0/24 subnet is used by the VPN TAP Virtual Network Adapter, right?

If it is so it looks almost as if it was all reversed. I mean, in my log the first "route ADD" record looks like this:

"route ADD VPN_PUBLIC_IP MASK 255.255.255.255 172.23.35.10"

172.23.35.10 is my "real network adapter" gateway.

Hmm... just thinking aloud but what does this line look like in your client config file:

"remote PUBLIC_IP_OF_YOUR_VPN_SERVER 1194"

Is the "PUBLIC_IP_OF_YOUR_VPN_SERVER" really a public IP in your config file?

Tomas



Do you really believe the Internet is a safe place?
IdentityCloaker.com - Take Back Your Privacy!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* No Internet access on VEs (but I get remote SSH access)
Next Topic: Warning: Variable TEMPLATE not found in /etc/sysconfig/vz
Goto Forum:
  


Current Time: Sun Jun 15 02:54:48 GMT 2025

Total time taken to generate the page: 0.01729 seconds