Docker Wireguard Install
Create a digital ocean server
Generate a droplet
- ubuntu 22.04 LTS x64; SFO3; 0.04/month
- adduser tiffany
- sudo usermod -aG sudo tiffany
create a non-root user with sudo permissions
- adduser tiffany
- usermod -aG sudo tiffany
- sudo su tiffany
install docker
Install docker
starting wireguard
- cd ~/wireguard/
- sudo docker-compose up -d
- sudo docker-compose logs -f wireguard
- this will output all the qr codes for the peers you created.

Locate the config file
- sftp -P 41235 tiffany@161.35.114.202:wireguard/config/peer_tiffanypc1/peer_tiffanypc1.conf ~/
Install config file
- sudo install -o root -g root -m 600 .conf [file location]
- i used peer_tiffanypc1.conf in the previous command
Wireguard on pc
Download wireguard and setup
- add tunnel and find the .conf file previously downloaded
add tunnel to wireguard
- sftp the .conf file to client machine
- locate the file on wireguard tunnel