docker-openwisp icon indicating copy to clipboard operation
docker-openwisp copied to clipboard

[feature] Added support for WireGuard #225

Open pandafy opened this issue 3 years ago • 1 comments
trafficstars

Added two images:

  • wireguard: image that runs WireGuard server
  • wireguard_updater: image that runs a Flask app that is used for triggering configuration update for WireGuard server.

Closes #225


TODO

  • [ ] Restrict sudo access on celery and wireguard images.

pandafy avatar Jun 03 '22 11:06 pandafy

In the code I see that vpn_id is a required parameter, but are you sure the current version of OpenWISP Controller sends this in the request? https://github.com/openwisp/openwisp-controller/blob/c02d5279614935790b51863aff623d525c279f41/openwisp_controller/config/tasks.py#L92-L106

I am aware that openwisp-controller does not send vpn_id in the request. Hence, I have added in the docs on how to configure the webhook endpoint

https://github.com/openwisp/docker-openwisp/blame/f58450c5589897b9eb42e9fb3116adf8742c888a/docs/tutorials/deploying-wireguard-vpn.md#L91-L108

I am double checking the cron job

pandafy avatar Jul 05 '22 09:07 pandafy