README: Add disable-autoconnect section

master
Felix 9 months ago
parent 53ad483e2d
commit c9e77f3c05
  1. 8
      README.md

@ -127,6 +127,14 @@ Deleting connection:
nmcli connection delete wg0
```
Disable auto-connect:
```
nmcli connection modify wg0 autoconnect no
```
More info:
[WireGuard in NetworkManager](https://blogs.gnome.org/thaller/2019/03/15/wireguard-in-networkmanager/)
### Stop touching /etc/resolv.conf
> To stop NetworkManager from touching /etc/resolv.conf, set main.dns=none with
> a configuration file in /etc/NetworkManager/conf.d/:

Loading…
Cancel
Save