Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Manage VPN connections #513

Open
Cu3PO42 opened this issue May 19, 2024 · 2 comments
Open

[Feature] Manage VPN connections #513

Cu3PO42 opened this issue May 19, 2024 · 2 comments

Comments

@Cu3PO42
Copy link
Contributor

Cu3PO42 commented May 19, 2024

What would you like to be added?

I'd love for the control panel on the right to also offer the option to connect to VPNs cofigured via Network Manager. I imagine it looking very similar to the menu already present for Wi-Fi connections, where clicking one would trigger a connection.

How will it help

I have several (corporate) VPNs that I might connect to (and disconnect from) multiple times a day. I currently use nm-applet for VPNs, but since Illogical Impulse already covers other networking, it would be nice to centraiize all network config there.

Extra Info

As far as I can tell, the networking service from AGS already exposes all the information about VPNs that is required.

@Ghanshyam-shaktawat
Copy link

hey greate idea. I also needed something like this as i have stuff i do with vpn. So I create my own version of it. I just create a toggle button on the right side menu next to the toggle wifi button which use the ags networking widget to connect to a praticular vpn connection. The vpn uuid is needed to be used for connection which i stored in userOptions.ags file. If u want i can share the code as a temperarly solution.

Altough about listening the vpn connections on the sidebar like wifi is not hard to do. Using nmcli we get get different vpn's and there uuid's which we can used to connect to with the help of ags network widget. I can implementing it and making a pr but i got exams and will be free after 3 June.

@Cu3PO42
Copy link
Contributor Author

Cu3PO42 commented May 25, 2024

You don't even need to invoke nmcli, you can directly use the NM library via GIR. It's also wrapped by AGS. What will take some care is that connecting to VPNs can also incur various prompts, for example providing credentials for external PKCS11 devices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants