How can I configure OpenVPN clients to be visible to each other?

I just did a fresh 1-click install of OpenVPN. Clients connect to the VPN without problem, but even though I think I have all the necessary settings, I can’t communicate my two clients as if they were on the same network.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Site Moderator
Site Moderator badge
November 30, 2023


You can examine the logs on your OpenVPN server for any error messages or issues. Common log locations include /var/log/openvpn.log or /var/log/syslog. Look for any clues indicating problems with network routing or connectivity.

Another thing to check is that the firewall on your OpenVPN server allows traffic between the connected clients. You may need to configure rules to permit traffic between the VPN clients.

You can review the client configurations to ensure they have the correct settings. Pay attention to parameters such as dev, proto, remote, ifconfig, and route in your OpenVPN client configuration files.

Also sometimes, restarting the OpenVPN service can resolve certain issues. Restart both the server and client services to see if it makes a difference.

Remember to make changes carefully and document them, so you can revert if needed. If the issue persists, examining the specific configurations and logs will likely reveal more information about the problem.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel