PublicKey: The public key of the client, which we have not yet created.Peer: Section for configuration of clients PostDown: Commands that will be run when the VPN server stops.PostUp: Commands that will be run when the VPN server starts.PrivateKey: The servers private key that we just generated.ListenPort: The port number WireGuard will run on.Address: The IP address of the server in the VPN network.Interface: Section for configuration of the server Here is a brief description of these properties we are setting: PublicKey = 3tpwRGFdhPqDJdXufDSQCoDw8WoBHuaa7paoh/FeoF0= PrivateKey = KFjLKgGlI43XzO74QccLvjkhxW4yFL/1eKro7p5ib2I= Start by logging in with root and providing the SSH key you used during Droplet creation. My usual setup is generally the same, with a couple of quirks. Digital Ocean recommends it, and so do I! There is even an Initial Server Setup with Ubuntu 20.04 provided by Digital Ocean. It makes sense to do an initial server configuration, mainly some hardening and security best practices. Datacenter: Choose the best option based on my location and target location.Plan: Basic > Regular Intel with SSD, $5 / month. I picked a VPS, or what they call Droplets, with the following configuration: It is simple and cheap, and the pricing plans are no-nonsense.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |