Hi,
I Like to set my Wireguard VPN Configuration with UCI. I know certificated are hard. But if I can set all hostnames, ports, etc.
I can easy login, generate a Private key and are ready to go. Only problem is that after adding, its not visible in the WebUI.
Do I miss a step? I tried with:
```
uci add network myvpn
uci set network.myvpn.proto='wireguard'
uci set network.myvpn.listen_port='51820'
uci set network.myvpn.addresses='10.0.0.2/32'
uci set network.myvpn.disabled=‘1'
uci set network.myvpn.private_key='xxxxx' # Generate with button in Webcli
uci set network.myvpn.public_key='xxxxx=' # Generate with button in Webcli
uci set network.DO.public_key='xxxxx='
uci set network.DO=wireguard_myvpn
uci set network.DO.allowed_ips='0.0.0.0/0'
uci set network.DO.allowed_ips='::/0'
uci set network.DO.persistent_keepalive='25'
uci set network.DO.endpoint_host={wireGuardHost}
```
I also tried something like this. But both are not visible:
```
uci add network sample
uci set [email protected][0].proto='wireguard'
uci set [email protected][0].listen_port='51820'
uci set [email protected][0].addresses='10.0.0.2/32'
uci set [email protected][0].disabled='1'
```