donaldzou / WGDashboard

Simple dashboard for WireGuard VPN written in Python w/ Flask
Apache License 2.0
1.23k stars 178 forks source link

Mikrotik #227

Open rdavey228 opened 1 year ago

rdavey228 commented 1 year ago

I’m looking my for a way to use this but my WireGuard is on my MikroTik router.

Obviously the dashboard need access to the configuration to work. So how would I do this if I setup the dashboard on my docker host

Any way to use this with a MikroTik WireGuard setup?

GH0st3rs commented 10 months ago

Yes, I suppose you can write/find an WinBox library that will use NvMessage protocol to communicate with your router. Unfortunately as I know WinBox(NvMessage) is a private protocol and there is only one way is to use reverse engineered libraries.

DaanSelen commented 1 month ago

I am not familiar with MikroTik, are they able to run Docker containers? If yes, then you would only have to parse the wireguard's wg0.conf file to the /etc/wireguard/wg0.conf in the container.