Warning: Adding a custom config.gateway.json could cause unintended consquences such as a provisioning loop on your USG. Please be careful and validate your file via JSONlint before creating or replacing on your controller; however, this DOES NOT promise proper provisioning…ONLY that the JSON is valid.
scp config.gateway.json <user>@x.x.x.x:<site path>
Note:
* UniFi - Where is <unifi_base> - for information on where the folder resides.