a.albendea
Hello guys, I am newbie installing openvpn and i would like share one problem because i need help. I have installed 4 virtual machines where 2 virtual machines have ubuntu server and 2 debian. The main idea is to have 2 openVPN working togueter as load balance. In other words, if one server is down, the clients must connect directz to the second server. But my first step is that one client can connect to first openvpn server. I have configured the following things>
##server.conf in /etc/openvpn/
dev tap
proto tcp
port 1194
ca ...crt
cert ...crt
key ....key
user nobody
group nobody
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
status status.txt
push "route 192.168.1.0 255.255.255.0"
persist-kez
persist-tun
push "dhcp-options DNS 192.168.1.1"
keepalive 10 120
verb 3
comp-lzo
the server has the following ip eth0 192.168.1.71 and tap0 10.8.0.1
the client has the following ip eth0 192.168.1.80 and tap 10.8.0.2
##client.conf in /etc/openvpn
client
dev tap
proto tcp
remote 192.168.1.71 1194
remote-random
resolv-retry infinite
nobind
persist-key
persist-tun
ca ....crt
cert .....crt
kez ...key
comp-lzo
verb3
both virtual machines has in tap device ip in virtual net 10.8.0.X but when i make from client ping to server i receive "FROM 10.8.0.1 ... Destination Host Unreacheable"
i read client log and this message is repeated "TCP: connect to AF_INET 192.168.1.71:1194 failed ... conexion timeout"
Anybody has this problem in the past?? i would be happy if somebody could help me. It is my first openVPN installation. Thanks!