Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • NetworkManager-openvpn NetworkManager-openvpn
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 40
    • Issues 40
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • NetworkManager-openvpnNetworkManager-openvpn
  • Issues
  • #48
Closed
Open
Issue created Mar 31, 2020 by L@LukeLR

NetworkManager-openvpn always adds default route without asking

In our university, we use a connection profile that gets several routes pushed from the server. However, no default route is among them. Still, when importing the profile into NetworkManager, a default route gets added with a lower metric than the previous default route.

I know that there is an option in the IPv4-settings to prohibit this. But why is this an opt-out? When the entire traffic should be routed through the VPN, both the server and the client config can use the redirect-gateway-option for it. If this option is not present, why does NetworkManager assume it should send all the client traffic to the VPN? This causes a) unnecessary strain on the VPN network if this is not wanted by the organisation, or b) the client's internet connection to fail when the VPN server does not forward connections into the global internet (which happened in my case).

I think, NetworkManager-openvpn should follow the behavior of the OpenVPN-client, which is forwarding traffic when redirect-gateway is either used in the client config or the server, otherwise not. Shouldn't it?

Edited Mar 31, 2020 by L
Assignee
Assign to
Time tracking