一個適用於小型團隊的 wireguard vpn 分發器
- Create
.envfrom.env.example - Generate public / private keys for vpnserver and client. Place into
app/
wg genkey | tee server_privateKey | wg pubkey > server_publicKey
wg genkey | tee -a client_privateKey | wg pubkey >> client_publicKey
...
wg genkey | tee -a client_privateKey | wg pubkey >> client_publicKey- Prepate SSL certificate
fullchain1.pemand private keyprivkey1.pem. Place intossl/
sudo certbot certonly --standalone -d <your domain>- Start container
docker-compose up -d