0

I am setting up a Windows Openvpn server,I can connect but I can never ping the server.

Here is my server.conf:

port 1194 
proto tcp 
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh2048.pem

push "route 10.19.0.0 255.255.0.0"
server 10.19.0.0 255.255.0.0

keepalive 10 120
comp-lzo
max-clients 10
persist-key
persist-tun
status openvpn-status.log
verb 3

client-to-client
duplicate-cn

Here is the log of setting up the server:

https://i.imgur.com/MNA9IT4.png I found where the problem is. The server is configured wrong mask:

https://i.imgur.com/xCvv37Q.png

I have to configure IP and mask manually so that I can ping the server:

https://i.imgur.com/t63OZ7z.png

But this config will overwrite by openvpn server in next reboot, than I have to do it again.

Where did I set wrong on my server?

1

Try adding topology subnet to your server.conf

  • 1
    Oh! It works! Thank you. – JK-Hu Jan 10 at 6:18
  • No problem! Glad I could help :) – Jonathan Rouleau Jan 10 at 6:19

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.