Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Feature]: Optional automatic VPN disconnect when connected to the corporate network

Aperta
#1,309 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

Start by locating the desktop client's VPN connection management and network detection entry points. The issue proposes several possible trust signals but does not choose a detection method or define configuration and completion criteria; clarify those design decisions with maintainers before implementation.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

feature
Problem description

We are using the Defguard Desktop Client as a WireGuard client and no Defguard Core deployment.

A common scenario in our environment is that users connect to the VPN while working from home and later return to the office with the same notebook. Once connected to the corporate network via Ethernet, docking station, or Wi-Fi, the VPN tunnel remains active.

While this is expected behavior, the VPN connection is typically no longer needed at that point. Many users do not notice that the tunnel is still connected, which can lead to unnecessary VPN usage, routing overhead, and additional support requests.

Proposed solution

Add an optional feature that automatically disconnects an active VPN tunnel when the client detects that the device is connected directly to the corporate network.

The detection method could be user-configurable and based on characteristics such as:

Trusted network definitions
Local subnet(s)
Default gateway
DNS servers or DNS suffixes
Wi-Fi SSID

The goal is simply to allow Defguard to recognize that the device has returned to a trusted local network where the VPN connection is no longer required.

Alternatives considered

Users can manually disconnect the VPN after returning to the office.

However, this relies entirely on user awareness and is easy to forget, especially for users who frequently move between home office and corporate locations.

Automatic detection would provide a more seamless experience and reduce the need for user intervention.

Impact

Important

Lingua principale
Rust
Stelle
371
Fork
42
Merge medio
1g 1h
PR unite (30g)
54

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DefGuard/client

Tutte le issue di DefGuard/client

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.