Closed bmikol closed 2 years ago
Hi! Thank you so much for bringing this problem to my attention, I will implement a function into the future version where could resolve this problem!
Hi! I'm wondering did you end-up getting wg-quick on EdgeOS?
Hi @donaldzou,
No, honestly I haven't been able to get wg-quick compiled on the router; I tried doing that before filing this issue but kept running into various issues. Unfortunately, I haven't had the time to try again – not sure when that'll be, as I expect it might take some fighting.
Hi @bmikol,
I've tried to dig into how wireguard work in the router. But since i don't own a router so is kinda hard for me to test. I'm gonna mark this problem is "help wanted", to see if anyone have a solution ;)
WireGuard on edgerouter is maintained and configured through the vyatta configuration system. Changes must be pushed to that (removing or adding peers) and committed. Interfacing with it is reasonably straightforward. Here is an example: https://github.com/whiskerz007/ubnt_get_wireguard/blob/master/get_wireguard.sh
WireGuard on edgerouter is maintained and configured through the vyatta configuration system. Changes must be pushed to that (removing or adding peers) and committed. Interfacing with it is reasonably straightforward. Here is an example: https://github.com/whiskerz007/ubnt_get_wireguard/blob/master/get_wireguard.sh
Thank you for providing this, since I don't own an edgerouter so I can't do any testing on the OS. I will keep open this issue and hope come across this issue and could solve this issue :)
Describe The Problem The good news is that with some slight tweaks to the
dashboard.py
file (as the default conf_location is not in /etc/wireguard), I was able to bring up the dashboard on a Ubiquiti Edgerouter running Wireguard. The bad news is that the toggles are not working – which appears due to the fact that thewg-quick
script is not installed in this flavor of Wireguard.I realize this this is more of an issue with the implementation of Wireguard on the EdgeOS of Ubiquiti's routers, but wanted to call attention to the issue in case others are trying to get it running.
Expected Error / Traceback
To Reproduce
dashboard.py
lines 8 & 51 to point to the folder containing the Wireguard config file (or, create /etc/wireguard and move the Wireguard config file there).OS Information: