Comments (3)
Hi @parsman, thanks for the suggestions. I hope I have interpreted them correctly.
I am assuming that "deactivate the account" means disabling the client such that the server stops accepting connections from it. I have added that functionality to the latest version (2.0.8).
I am assuming that "the part that displays the date of the user's first connection" is referring to the status line that starts with latest handshake
. That would be the most recent connection, not the first, so maybe you're referring to something else. Either way, the latest version (2.0.8) now displays that information in the client configuration page.
Let me know what you think.
from wgserverforwindows.
Hi dear @micahmo
Thanks for your consideration
I meant in the second suggestion , adding an option to know the start time or the first handshake of client,
Or an option to set duration for a client to be auto disconnected after a given date or numbers of days.
from wgserverforwindows.
adding an option to know the start time or the first handshake of client
Do you mean the first handshake ever (since the creation of the server), or just the starting time of the current session? If it's the former, I don't think that information is available from WireGuard. If the latter, that has been added in the latest version.
an option to set duration for a client to be auto disconnected after a given date or numbers of days
Unfortunately this is not possible through WireGuard. There is not really a notion of a "connection", just routing of packets on demand. Therefore, there's no session to terminate. The best you could do is remove the client's config from the server (or make some other change such that subsequent connections are impossible). Since I intend WS4W to be a lightweight wrapper around WireGuard (and not something that has to be running all the time), I don't think this app is the right place for a service that periodically checks and disables clients. I'm not really intending on adding any functionality that wouldn't come standard with WireGuard on Linux.
Here's a Reddit post that explains more.
from wgserverforwindows.
Related Issues (20)
- Is there a way to disable the wireguard server HOT 2
- Cannot access services on WireGuard server
- Call Server Status Display Directly HOT 1
- can't share internet
- [Proposal] Disabling and enabling wireguard server HOT 2
- Not working on 32bit Windows
- I'm so amazed I don't know what to say, this is god like. I want to donate HOT 2
- Enable Internet Sharing: An event was unable to invoke any of the subscribers (0x80040201) HOT 1
- Enable configuration of PersistentKeepalive in client configuration HOT 7
- It closes by itself after a while of not using it (Win11). HOT 3
- [Feature Request] Add a removal tool incase the tunnel is incorrectly installed HOT 4
- My server does not have NAT related functions here HOT 2
- [Feature Request] Server MTU Size setting
- route wireguard server hosts file HOT 1
- error
- What's the difference between clients_data/ and clients_wg/ directories? HOT 1
- Invalid class error after splash [already solved] HOT 2
- Client Connection HOT 1
- Enable NAT Failed
- Server keeps trying to handshake after client disconnects 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 wgserverforwindows.