Comments (4)
Just a quick comment .... the openvpn3-indicator is probably the best alternative. That uses the proper D-Bus interfaces. The openvpn3-applet is just a shell script doing lots of openvpn3
calls - that is prune to fail easily.
I've also attached a little tool which we will introduce in a future release. That does nothing fancy in regards to session management, but it gives you a desktop pop-up notification whenever the status of VPN sessions changes.
session-watcher.tar.gz
To use it, install it using sudo make install
. Then as the currently logged in user, you can activate this like this:
$ systemctl --user enable --now openvpn3-desktop-session-watcher.service
If you see a VPN session requiring re-authentication, you may try to check out the openvpn3 session-auth
command.
from openvpn3-linux.
The session-mange --cleanup
will only clean up sessions it cannot reach (like if the VPN backend died/crashed unexpectedly). If you can reach the session via openvpn3 session-manage --disconnect --config CONFIG_NAME
, it is still available - and that is the way to properly shutdown the connection.
I'm deep into the GH issue 171, which does a complete rework of the D-Bus implementation. The session manager will also be migrated. I will have this issue in mind when I start looking at the session manager (client is backend is basically done, working on the netcfg service now).
If you can document how you can reproduce this issue consistently, I will try to test this issue more carefully. Also good to know what kind of server you connect against.
from openvpn3-linux.
Thanks for your quick reply!
To reproduce it, I just leave my work VPN connected and don't reboot my PC (running Debian). I'm not sure what our server is, exactly, I was just given the ovpn profile and told to use openvpn3 now.
Just as a bit of background, I'm using another github project for a tray applet (https://github.com/nesto-software/openvpn3-applet) on XFce to indicate when I'm connected or not, and noticed it's buggy because of the failed auth sessions sticking around. It's a rather simplistic script and just meant as a stop-gap until there's better integration into NetworkManager or similar. I just thought the --cleanup was malfunctioning because it worked to clear the sessions the first time I ran it. I found another similar tray applet (https://github.com/grzegorz-gutowski/openvpn3-indicator) that I will try, as it sounds like it maybe handles multiple sessions better.
from openvpn3-linux.
I guess I will close this, as it appears to be working as designed
from openvpn3-linux.
Related Issues (20)
- Failed to start session with CloudConnexa on Fedora Linux HOT 3
- D-Bus API: requests for improvements HOT 3
- OpenVPN3 doesn't set back previous DNS after disconnect using systemd-resolved in stub mode HOT 4
- Support Synology DSM? HOT 2
- Can't access sites via domain only via ip
- <connection> profiles are non-functional + unkown/unsupported option details are lacking HOT 13
- Error after ArchLinux upgrade HOT 2
- Add support for resolvconf interface HOT 4
- Support for ubuntu 24.04 HOT 12
- How to check the encryption protocol used when connecting to openvpn HOT 1
- openvpn3 config-import --persistent doesn't persist over reboot HOT 21
- Can't install openvpn3 (Fedora 37) HOT 2
- openvpn3 session-start using config file fails to start on first attempt, works on second attempt HOT 7
- Archlinux install fails - ConfigManager inaccesssible for test-suite on first install HOT 3
- Can't connect witt Sophos router with OpenVPN v 21. HOT 14
- Migrate to codeberg.org
- Unknown options: "python.bytecompile" HOT 6
- Support for OpenSuse Tumbleweed HOT 1
- Openvpn3 update errors with apt HOT 1
- peataihangthaisong
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 openvpn3-linux.