- Updated WireGuard client to use `wg-quick` instead of `sudo wg-quick`. - Improved error handling in WireGuard client. - Added `sudo` to `wg show` command for proper permissions. - Updated example `wireguard.vsh` script to reflect changes. - Added a new `wg0.conf` file for the WireGuard configuration. - Resolved the issue where the script wasn't finding the configuration file. Co-authored-by: mahmmoud.hassanein <mahmmoud.hassanein@gmail.com>
8 lines
253 B
Plaintext
8 lines
253 B
Plaintext
[Interface]
|
|
Address = 10.10.3.0/24
|
|
PrivateKey = wDewSiri8jlaGnUDN6SwK7QhN082U7gfX27YMGILvVA=
|
|
[Peer]
|
|
PublicKey = 2JEGJQ8FbajdFk0fFs/881H/D3FRjwlUxvNDZFxDeWQ=
|
|
AllowedIPs = 10.10.0.0/16, 100.64.0.0/16
|
|
PersistentKeepalive = 25
|
|
Endpoint = 185.206.122.31:3241 |