vpnsecurityubuntu If you like our content, please consider buying us a coffee. Thank you for your support! Buy me a coffee Sign up to our newsletter and get our latest tutorials and news straight to your mailbox. Subscribe We’ll never share your email address or spam you....
Run the following command the bring up the interface: sudo wg-quick up wg0CopyNow you should be connected to the Ubuntu server, and the traffic from your client machine should be routed through it. You can check the connection with: ...
The last step is to add the client’s public key and IP address to the server. To do that, run the following command on the Debian server: sudo wg set wg0 peer CLIENT_PUBLIC_KEY allowed-ips 10.0.0.2Copy Make sure to change the CLIENT_PUBLIC_KEY with the public key you generated on...