Skip to content

dmcardle/wireguard-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo automates the setup of my personal wireguard VPN. It requires that you're running a Linux kernel with wireguard support and that you've installed the Nix package manager.

To get started, just run nix-shell in this directory, then run make start-server. This will perform the following actions:

  • Automatically generate keypairs (if they are not present).
  • Add and configure a new wireguard network interface.

Once the service is running, you can view its status with make status.

Manual steps:

  1. Write your own config.json file. See the description at the top of the Makefile.
  2. If necessary, override the default SERVER_IFACE for make.
  3. If necessary, set up dynamic DNS for home network.
  4. Set a static IP address on the wireguard host.
  5. Configure the router to forward UDP port 51820 to the host.

About

Some machinery for setting up Wireguard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published