Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1 KB

README.md

File metadata and controls

35 lines (23 loc) · 1 KB

WireGuard Snap

wireguard

This is a community-developed WireGuard snap that includes a oneshot service to help automate VPN configuration.

Installation

Get it from the Snap Store

This snap can be installed from the Snap Store using the following command:

sudo snap install wireguard-dtp

Usage

First, connect the firewall-control and network-control interfaces.

sudo snap connect wireguard-dtp:network-control
sudo snap connect wireguard-dtp:firewall-control

Then, drop your *.conf files under /var/snap/wireguard-dtp/current/etc.

sudo cp wg0.conf /var/snap/wireguard-dtp/current/etc

Finally, restart WireGuard.

sudo snap restart wireguard-dtp

Note

Due to strict confinement, updating DNS in /etc/resolv.conf automatically is not supported.