Windows: Download here
Linux (Debian/Ubuntu): sudo apt install openvpn
On Windows, import the .ovpn
file into the OpenVPN GUI.
On Linux, run: sudo openvpn --config itsfin3-open-server.ovpn
Use the following command to see your VPN IP:
ip a
(Linux)
or check the OpenVPN GUI details on Windows.
Start your game server and note the port it's running on.
Make sure your firewall allows incoming connections on the game server port.
Example for Linux (UFW): sudo ufw allow 25565
Give them the VPN-assigned IP and port. They can connect to your game as if on the same LAN.
nmap -p 25565 [IP]
– check if port is open
ping [VPN-IP]
ncat -v [IP] [PORT]
– attempt to connect manually