I have a server and two clients that can connect correctly. The two clients can ping to the server but a client can´t ping to the other.
I read that by default OpenVON only allows ping to the server and I have to use the clint-to-client parameter in the server configuration file, but this does not solve my problem.
My server configurarion:
port 1194
proto udp
dev tun
dev-node OpenVPN
server 20.30.0.0 255.255.255.0
ca ca.crt
cert server.crt
key server.key
dh2048.pem
tls-auth ta.key 0
ifconfig-pool-persist ipp.txt
cipher AES-256-CBC
client-to-client
push "redirect-gateway def1"
push "dhcp-option DNS 20.30.0.1"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
My client configuration, in both clients are the same less the certificates that each client has its own:
client
dev tun
dev-node TunnelTap
remote myUrl.com 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client01.crt
key client01.key
tls-auth ta.key 1
ns-cert-type server
cipher AES-256-CBC
comp-lzo
verb 4
explicit-exit-notify 2
ping 10
ping-restart 60
route-method exe
route-delay 2
I need something else to can ping one client to each other?
Thanks.