Antonio Fernandez
c7645e5ce7
Removed blank PostUp and PostDown
Not every server config needs a PostUp or PostDown so I added an if statement to not include them if the values entered in the web interface are blank.
4 years ago
Per-Arne Andersen
4d8d30c76a
* Allow custom client routes.
5 years ago
Per-Arne Andersen
fd44c7c6f8
* Updated readme for when ipv6 fails to start.
5 years ago
Per-Arne Andersen
ca37626976
* ADMIN_USERNAME is now used when setting initial API Key
5 years ago
Per-Arne Andersen
df1c94b8e9
* Initial version of client-mode.
* A lot of small fixes
* Added gui for client mode, where Clients are read-only (may change in the future)
* NEED FEEBACK On this :)
5 years ago
Per-Arne Andersen
89b41bcf69
* Clearified error message when no ADMIN_USERNAME, and ADMIN_PASSWORD env variable is set. #27
5 years ago
Per-Arne Andersen
66e78de9e2
* Initial work on obfs4 tor bridge for #19
5 years ago
Per-Arne Andersen
5d4ca2e96a
* Added route for retrieving configuration directly when adding new peer
* Added example in documentation
5 years ago
Per-Arne Andersen
d70f35c65e
* API-Key support. This ease automation, such as #21
5 years ago
Per-Arne Andersen
b56a9db335
* Added configuration dump capabilities which address #21
* Removed unused code.
5 years ago
Per-Arne Andersen
1eae153572
* Possible fix for peers not updating subnet. This should finish up #11
* Initial Support for IPv6. #20
5 years ago
Per-Arne Andersen
66617b7698
* Removed warning on missing devices as this is a is_running check. No device appears when device is NOT running.
* Check if interface runs before checking stats.
5 years ago
Per-Arne Andersen
41abe44f45
* Fixed bug where server configuration did not update after peer update.
5 years ago
Per-Arne Andersen
c273dff215
* Added warning for #22
5 years ago
Per-Arne Andersen
f301675646
* Moving away from silly .sync/.from_db scheme and use "raw" sqlalchemy.
* Fixed bug where server interface were queried using ID and not the name. Fixes #22
5 years ago
Per-Arne Andersen
99bdc54517
* Fixes #24 - ID was not fetched after insert.
5 years ago
Simon Lerpard
93193415f1
Fix detection of 'wg show interface' not running
When main.py initializes the subprocess returns an output of 'No such
device' but it doesn't throw any exception, for some reason...?
So, the output was of course returned to the is_running process and
since it wasn't "None" it though the interface was in the 'running'
state.
5 years ago
Simon Lerpard
6d944bcd99
Fix keeping the server interface state when stop
The server interface wasn't updated in the database when it got stopped.
Which led to 'is_running' was always set to true, if the server has been
started once.
Also fixed a copy-paste issue, which didn't affect the code
5 years ago
Simon Lerpard
665167aa3f
Fix detection of 'wg show interface' not running
When main.py initializes the subprocess returns an output of 'No such
device' but it doesn't throw any exception, for some reason...?
So, the output was of course returned to the is_running process and
since it wasn't "None" it though the interface was in the 'running'
state.
5 years ago
Simon Lerpard
256d7b7901
Fix keeping the server interface state when stop
The server interface wasn't updated in the database when it got stopped.
Which led to 'is_running' was always set to true, if the server has been
started once.
Also fixed a copy-paste issue, which didn't affect the code
5 years ago
Per-Arne
cf7d55d71a
* Breaking changes: Must remove subnet from client configurations in dashboard
* Added subnet support as described in #11
5 years ago
Per-Arne
e1431a359c
* ADMIN_USERNAME, ADMIN_PASSWORD is mandatory when creating new databases. Fixes #9
5 years ago
Per-Arne
cbced47e99
* Fixed migrations
5 years ago
Per-Arne
04f654e111
* Potential updated updated fix for #6
5 years ago
Per-Arne
91e5cc267b
* Potential fix for #6
5 years ago
Per-Arne
2067dd27fe
Adding missing files
5 years ago
Per-Arne
03a1f29415
* Fix the fix.
5 years ago
Per-Arne
e3737e26c4
* Potential fix for stats when preshared key is set.
5 years ago
Per-Arne
a56509ab66
* Added migrations, needs testing
* Shared-keys are now per-peer basis and not global. They also reflect on the server config...
5 years ago
Per-Arne
c28636d5aa
* WireGuard servers should now automatically start if last state was running before shutdown.
5 years ago
Per-Arne
c568aa3ff2
* Added Default DNS
* Removed old code
* BREAKING CHANGES:
Create COLUMN dns on server table if you have running setup
5 years ago
Per-Arne
81c98c0cca
* Fixed annoying expand bug in peer frontend
* Fixed bug where address could not be changed for peers.
* Deleted old files.
5 years ago
Per-Arne
7926947224
Fixed bug where the first peer added to a new server, had colliding IP with the server
5 years ago
Per-Arne
07e973784a
Added import support
5 years ago
Per-Arne
3dd857a84c
Stable version
5 years ago
Per-Arne
efa52e9fff
Updated GUI and fixed alot of instabilities in front end.
5 years ago
Per-Arne
b725c585b0
Added simple auth
5 years ago
Per-Arne
a33a1a8661
Initial Version
5 years ago