Skip to content

Commit

Permalink
Add NetworkManager documentation link
Browse files Browse the repository at this point in the history
  • Loading branch information
jyyi1 committed Dec 10, 2024
1 parent 933d693 commit 70f8303
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/go/outline/vpn/nmconn_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ func (c *linuxVPNConn) closeNMConnection() error {
return nil
}

// NetworkManager settings reference:
// https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nm-settings-dbus.html

func configureCommonProps(props map[string]map[string]interface{}, opts *nmConnectionOptions) {
props["connection"] = map[string]interface{}{
"id": opts.Name,
Expand Down Expand Up @@ -141,6 +144,7 @@ func configureIPv4Props(props map[string]map[string]interface{}, opts *nmConnect

// A lower value has a higher priority.
// Negative values will exclude other configurations with a greater value.
// The default value is 50 for VPN connections (and 100 for regular connections).
"dns-priority": -99,

// routing domain to exclude all other DNS resolvers
Expand Down

0 comments on commit 70f8303

Please sign in to comment.