Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#1,309 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
mobile-dev, networking

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Rust
Star
371
Fork
42
Merge trung bình
1 ngày 1 giờ
Pull request đã merge (30 ngày)
54

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DefGuard/client

Tất cả issue của DefGuard/client

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.