VPN Network Service - Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
#nebula #tailscale #mesh #vpn #golang #go #overlay #meshvpn

Alex 5c6a581dfc Merge pull request #526 from gravitl/develop %!s(int64=3) %!d(string=hai) anos
.github 65631e0905 Merge branch 'develop' into master %!s(int64=3) %!d(string=hai) anos
auth 64d293a2b9 changed small bug with routes %!s(int64=3) %!d(string=hai) anos
compose 11a0ecdbb8 updating readme and versions %!s(int64=3) %!d(string=hai) anos
config 84c8299bb0 freebsd working %!s(int64=3) %!d(string=hai) anos
controllers e521c5936a added logic for future use %!s(int64=3) %!d(string=hai) anos
database ccbd6f90f7 fixing windows %!s(int64=3) %!d(string=hai) anos
docker a6868ff848 setting default roaming %!s(int64=3) %!d(string=hai) anos
docs 11a0ecdbb8 updating readme and versions %!s(int64=3) %!d(string=hai) anos
functions 7ddf36520a rebased on develop %!s(int64=3) %!d(string=hai) anos
grpc 44d03f6805 began refactoring of client %!s(int64=4) %!d(string=hai) anos
kube dc6ee1a18a adding templates %!s(int64=3) %!d(string=hai) anos
logic 801919ab0d fixing client issues for uspace, fwmark, vpn %!s(int64=3) %!d(string=hai) anos
models 1a16e5ad25 fixed dns and keys %!s(int64=3) %!d(string=hai) anos
netclient a6868ff848 setting default roaming %!s(int64=3) %!d(string=hai) anos
nginx 39e4d5377c updating docs %!s(int64=4) %!d(string=hai) anos
scripts dd40a317d6 updating install script %!s(int64=3) %!d(string=hai) anos
servercfg 11a0ecdbb8 updating readme and versions %!s(int64=3) %!d(string=hai) anos
serverctl 08e48b76a7 syncnet fix %!s(int64=3) %!d(string=hai) anos
test a172641cad updating README %!s(int64=3) %!d(string=hai) anos
validation 8f72ecbaa0 refactored logic %!s(int64=3) %!d(string=hai) anos
.dockerignore 974627a9ab reorg of dockerfiles %!s(int64=3) %!d(string=hai) anos
.gitignore 0d9f2db514 binary builder script %!s(int64=3) %!d(string=hai) anos
Dockerfile 65631e0905 Merge branch 'develop' into master %!s(int64=3) %!d(string=hai) anos
LICENSE.txt 375482c16d updating docs %!s(int64=4) %!d(string=hai) anos
README.md 11a0ecdbb8 updating readme and versions %!s(int64=3) %!d(string=hai) anos
defaultvalues.sh e489a18492 hotfixes for repo. Now works. %!s(int64=4) %!d(string=hai) anos
go.mod 74b074c897 Merge pull request #448 from gravitl/dependabot/go_modules/develop/github.com/lib/pq-1.10.4 %!s(int64=3) %!d(string=hai) anos
go.sum 74b074c897 Merge pull request #448 from gravitl/dependabot/go_modules/develop/github.com/lib/pq-1.10.4 %!s(int64=3) %!d(string=hai) anos
main.go 8834ad4cf5 added gc %!s(int64=3) %!d(string=hai) anos
mesh-diagram.png 0bacbd9f6c first commit %!s(int64=4) %!d(string=hai) anos
netmaker.png ba711d1b39 Add files via upload %!s(int64=4) %!d(string=hai) anos

README.md

Create and control automated virtual networks.

WireGuard® Automation from Homelab to Enterprise

  • Peer-to-Peer Mesh Networks
  • Kubernetes and Multi-Cloud Enablement
  • Remote Site Access via Gateway
  • OAuth and Private DNS Features
  • Support for Linux, Mac, Windows, FreeBSD, iPhone, and Android

Get Started in 5 Minutes

For DigitalOcean, use the 1-Click App:
For production-grade installations, visit the Install Docs.
For an HA install using helm on k8s, visit the Helm Repo.

  1. Get a cloud VM with Ubuntu 20.04 and a public IP.
  2. Open ports 443, 80, 53, and 51821-51830/udp on the VM firewall and in cloud security settings.
  3. Run the script (see below for optional configurations):

sudo wget -qO - https://raw.githubusercontent.com/gravitl/netmaker/master/scripts/nm-quick.sh | bash

Upon completion, the logs will display the instructions to connect various devices. These can also be retrived from the UI under "Access Keys."

After installing Netmaker, check out the Walkthrough and Getting Started guides to learn more about configuring networks. Or, check out some of our other Tutorials for different use cases, including Kubernetes.

Optional configurations

Deploy a "Hub-And-Spoke VPN" on the server
This will configure a standard VPN (non-meshed) for private internet access, with 10 clients (-c).
sudo wget -qO - https://raw.githubusercontent.com/gravitl/netmaker/master/scripts/nm-quick.sh | bash -s -- -v true -c 10

Specify Domain and Email
Make sure your wildcard domain is pointing towards the server ip.
sudo wget -qO - https://raw.githubusercontent.com/gravitl/netmaker/master/scripts/nm-quick.sh | bash -s -- -d mynetmaker.domain.com -e [email protected]

Script Options

./nm-quick
-d domain.example.com # specify a wildcard domain for netmaker to use (DNS must point to this server)
-e [email protected] # specify your email (for SSL certificates)
-m true # create a default 'mesh network' (on by default)
-v false # create a default 'VPN network' (off by default)
-c 7 # number of client configs to create (for VPN network, 5 by default)

Why Netmaker + WireGuard?

  • Netmaker automates virtual networks between data centers, clouds, and edge devices, so you don't have to.

  • Kernel WireGuard offers maximum speed, performance, and security.

  • Netmaker is built to scale from the small business to the enterprise.

  • Netmaker with WireGuard can be highly customized for peer-to-peer, site-to-site, Kubernetes, and more.

Get Support

Community Projects

Disclaimer

WireGuard is a registered trademark of Jason A. Donenfeld.

License

Netmaker's source code and all artifacts in this repository are freely available. All versions are published under the Server Side Public License (SSPL), version 1, which can be found here: LICENSE.txt.