I have a openVPN server and one client. I can connect and ping from the client to the server (by the moment I have disabled the firewall in the server).
I create a second certificate for a second client. This client run on a virtual machine. This second client can connect to the server and get a different IP than the first client, the x.x.x.10.
But from this second client I can't ping to x.x.x.10 and no ping to the server. Why?
In this virtual machine I tried the first client (certificate) and all warks fine, I only change the certificate to avoid that the server assign the same IP to both clients.
Server config:
port 1194
proto udp
dev tun
dev-node OpenVPN
server 20.30.0.0 255.255.255.0
ca ca.crt
cert srvCoru01.crt
key srvCoru01.key
dh dh2048-srvCoru01.pem
tls-auth ta-hmac-srvCoru01.key 0
ifconfig-pool-persist ipp.txt
cipher AES-256-CBC
push "route 192.168.1.0 255.255.255.0"
push "redirect-gateway def1"
push "dhcp-option DNS 208.67.220.220"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
client config:
client
dev tun
dev-node TunnelTap
proto udp
remote 192.168.1.16 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert agarcia.crt
key agarcia.key
tls-auth ta.key 1
ns-cert-type server
cipher AES-256-CBC
comp-lzo
verb 3
explicit-exit-notify 2
ping 10
ping-restart 60
route-method exe
route-delay 2
Thanks.