Comments (10)
I'm having the same issue. Because I need to put x.x.x.x/xx into the "IPv4 Address" and the "IPv6 Address" fields, while also specifying the Subnet in the Subnet dropdowns, it results in making calls while specifying the IP parameter like "x.x.x.x/xx/xx" e.g. in "ip link add wg0 .... -4 address add x.x.x.x/xx/xx ..." which makes the calls fail. Is there any work around how I can modify the stored addresses or subnet information to get it working?
from wg-manager.
@AlexanderAllmendinger I've added a migration that should enable nullable on v6_subnet. Does this fix your problem?
@ethaniel86 I suppose the latest version should fix your issue
from wg-manager.
man you're fast ... thanks for getting back that quick
Unfortunately this didn't do the trick. I'm no web development expert but looking at your commit it looks like you are now allowing that the subnet fields are not set and therefore null.
What I'm trying is creating a new configuration with default parameters (see screenshot). But even with default parameters the validation of the IP addresses for v4 and v6 are failing and therefore I cannot safe the configuration. Once I'm adding a /24 to the ip address fields, the validation works but the IP address is stored with 10.0.200.1/24/24 and therefore any follow up usage fails.
I hope this helps with understanding my issue.
from wg-manager.
@AlexanderAllmendinger hopefully it is not working in the latest update
from wg-manager.
I just gave it another try, unfortunately still no luck...
The validation still blocks entering only an IP Address. I hope I'm not missing a step. I basically pull your commits from the github project and then rebuild the frontend, backend and start the server. But I think that should work...
Anyway, when I'm entering only an IP, the validation is still failing and the field is marked red:
The result of this failed validation is that the "Add Server" button is blocked:
When I then add the /24 to the IP Address the validation succeeds:
Then I can add the server:
But still the stored address is wrong as it has the Subnet mask twice:
from wg-manager.
I'm not able to replicate this. Are you building master branch?
then clicking "add server" works fine here:
from wg-manager.
Worth mentioning that it is indeed a bug that you can add subnet in that field.
from wg-manager.
Yes, I'm building the master branch and I can see you latest update in the history of my local repository ... but still to me the behavior didn't change yet. Are there any cache files I need to delete?
from wg-manager.
from wg-manager.
Ok, I don't know what is being cached but there was something cached. I created a new system and now it works fine. Thanks for the fast responses and fix!
You take care and stay well!
from wg-manager.
Related Issues (20)
- Cannot login "no such table: users" Bare metal installation HOT 6
- Enable/Disable Peer HOT 1
- Cannot find device wg0 HOT 2
- Tunnel description HOT 1
- Sql error on initial login
- Add client IP to list to clients if they are currently connected (or last known IP).
- On PhD Finish Up Leave. HOT 1
- sqlite3.IntegrityError) NOT NULL constraint failed: server.v6_subnet HOT 1
- Portainer and wg-manager -----newbie HOT 4
- Limit trafic user HOT 1
- username and password HOT 1
- [Enhancement] Move to an agent-based architecture for controlling interfaces HOT 1
- add MTU in config server
- problem with private key when importing configuration
- Startup Race Condition - Solution I used - Delay Docker Start HOT 1
- Automatic addition of a subnet
- docker: no user / db created HOT 2
- cannot change admin password after deployment in ui
- Wg0 can't start - Table does not exist (do you need to insmod?) Perhaps ip6tables or your kernel needs to be upgraded. HOT 4
- I canΒ΄t login using admin / admin HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wg-manager.