WireGuard / wireguard-vyatta-ubnt

WireGuard for Ubiquiti Devices
https://www.wireguard.com/
GNU General Public License v3.0
1.46k stars 69 forks source link

Config example #5

Closed dcava closed 4 years ago

dcava commented 4 years ago

On the USG3/4 Pro the commandline setup does not survive reboot/re-provisioning. The settings need to be added to a config.gateway.json file and placed on the controller.

I have added an example config.gateway.json as a commented json file (comments need to be deleted prior to use), and made a small change to the README.md. The config.gateway.json could easily be expanded to demonstrate more complex setup environments.

Apologies if I've left anything out, I'm a github novice.

FossoresLP commented 4 years ago

Hi @dcava, the PR looks good to me. Thanks for helping others with those devices out. I will pull it in for the next release unless someone else would like to request changes.

zx2c4 commented 4 years ago

Fixed some things up and applied. Thanks.