Hello! I have a small computer with Ubuntu Server on board, and I also have a rented server on which the AmneziaVPN service runs. I need to configure a VPN connection in CLI-only mode through a ready-made server without using the GUI. Any tips on how to do this?
Amnezia VPN doesn’t have a CLI version, only GUI for now.
You can try running a plain WireGuard connection if your ISP doesn’t block it. Another option is using AmneziaWG, though I couldn’t get it to work myself.
To connect your local server to remote AmneziaVPN you need to:
-
Install the VPN client WireGuard on the server with Ubuntu.
-
On the server with Amnesia, or rather in the Amnesia application, share the WireGuard configuration for the native WireGuard application.
-
Import this connection into your WireGuard client on the server with Ubuntu OS server. There are many instructions for configuring WireGuard clients in the command line in the public access (the exact method will depend on the OS version). Well, this method is relevant only for the native WireGuard protocol which is available inside Amnezia.