I am a beginner in server administration and trying to set up a VPN on an Ubuntu server. The goal is to make sure that all users can connect to the server and route their traffic reliably through the VPN. The task requirement is: “First configure the VPN on this server so that it works for everyone. If we need to switch from Tunnelblick to OpenVPN or WireGuard, we will do so. But everything must work clearly and for all users.” Currently, all users are connecting through Tunnelblick using .ovpn configuration files, but these do not work in Russia, so another solution is required. I have tried configuring both OpenVPN and WireGuard, generated keys, and created basic configuration files. The server starts, but for some users the connection does not establish, while for others the VPN works very inconsistently. My questions are: which solution is better for stable connections across different clients (Windows, macOS, Linux) — OpenVPN or WireGuard? What is the minimal working configuration example for Ubuntu that I can use as a base? And what are the common pitfalls (iptables, routing, DNS) I should pay attention to so that the VPN works reliably for everyone?
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.