Skip to content

Auto-disconnect OpenVPN when a physical connection to the corporate network is established #639

@Pleusch

Description

@Pleusch

Dear maintainers,

I am currently experiencing an issue where I need to manually disconnect from OpenVPN every time I physically plug into my office's corporate network. This manual step is necessary to avoid redundant connections and access the office network resources.

Here's what typically happens:
When I connect directly to my corporate network, I need to manually disable OpenVPN once, and then re-enable it immediately. Thankfully, OpenVPN does not establish a connection as long as I'm physically connected to the corporate network, which is good.

However, it would be an improvement if OpenVPN could automatically detect when I'm physically connected to the corporate network and disconnect on its own. Additionally, once it detects that the physical connection is no longer present, it should attempt to reconnect automatically.

This auto-detect and disconnect/connect feature would enhance usability significantly, as it would remove the need for manual intervention every time I transition between network environments.

I look forward to your thoughts on this.

Thanks for your time and consideration.

Pleusch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions