Skip to content

DownThePark/wireguard-snap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

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.