This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Client
sudo apt install wireguard
sudo nano /etc/wireguard/wg0.conf
скачать конфиг с wg-easy сервера и отредактировать:
убрать dns
endpoint = vpnwg.ulakar.com:51820
[Interface]PrivateKey=xxxAddress=10.8.0.4/24, fdcc:ad94:bacf:61a4::cafe:8/112# отключить DNS - не используем для wg сети#DNS = 1.1.1.1, 2606:4700:4700::1111MTU=1420[Peer]PublicKey=xxxPresharedKey=xxxAllowedIPs=10.8.0.0/24PersistentKeepalive=25Endpoint=vpnwg.ulakar.com:51820
sudo systemctl enable wg-quick@wg0
sudo systemctl start wg-quick@wg0
sudo ufw allow in on wg0 to any port 22
Delete Page
Deleting the wiki page "Wireguard" cannot be undone. Continue?