donaldzou / WGDashboard

Simple dashboard for WireGuard VPN written in Python w/ Flask
https://donaldzou.github.io/WGDashboard-Documentation/
Apache License 2.0
1.47k stars 217 forks source link

internal server error when having multiple IPs active on server. #266

Closed barryboom closed 3 months ago

barryboom commented 4 months ago

Describe The Problem trying to set up a multi config system on single server. adding multiple WG instances like wg0 , wg1 , wg2 etc that part works fine i also want to assign alias IPs or multiple IPs which will still route back to the same server this also works fine in terms of wireguard in that i can connect to the WG connection using either of the Configs and multiple IPs

However what seems to stop working is the dashboard once i setup the secondary virtual interface and actiavte the addional IP on the server.

Error that comes up after logon is as below :

**### Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.**

as soon as i deactivate the secondary IP and reboot it all start working fine again.

OS Information:

donaldzou commented 4 months ago

It seems like this is a Flask issue? I still to recreate it on my side to make sure

barryboom commented 4 months ago

i have managed to overcome the issue by using a bridge rather than alias of exisitng interface this seemed to work.