ngoduykhanh / wireguard-ui

Wireguard web interface
MIT License
3.77k stars 464 forks source link

How can clients automatically download or synchronize wg0.conf from a remote server #587

Open goldsoft8888 opened 3 weeks ago

goldsoft8888 commented 3 weeks ago

How can clients automatically download or synchronize wg0.conf from a remote server, especially when multiple clients are unattended and need to accomplish this task automatically? Please assist me.

goldsoft8888 commented 2 weeks ago

C:\Windows\System32>curl --connect-timeout 30 --max-time 60 -c cookies.txt -H "Content-Type: application/json" -X POST -d '{"username":"admin","password":"admin"}' -v http://xxx.com:12345/login Note: Unnecessary use of -X or --request, POST is already inferred.