Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
Find a file
john s eb974dbd63
config/config_test: add test (#882)
* Adds a test for parsing the dev.yaml config included in the repository
* Changes readConfig() to return an error in addition to the envrionment
  config

Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-18 14:06:48 -05:00
.github add latest tag to docker images 2022-03-17 18:36:56 -04:00
auth updated ioutil refs and composes 2022-01-06 15:05:38 -05:00
compose changed versions to 0.12.0, added new logo 2022-03-14 13:31:12 -04:00
config config/config_test: add test (#882) 2022-03-18 14:06:48 -05:00
controllers added default acl value option for networks 2022-03-17 13:24:57 -04:00
database added mutex for sqlite 2022-03-15 22:37:30 -04:00
docker Merge pull request #839 from gravitl/bugfix_v0.11.1_wireguard-tools 2022-03-02 09:50:23 -05:00
functions modified getpeers for hub network 2022-02-18 11:43:49 -05:00
grpc began refactoring of client 2021-08-05 12:24:16 -04:00
img adding image folder 2022-03-16 07:21:58 -04:00
kube fixed versions 2021-12-12 18:26:49 -05:00
logger changed to range 2022-02-15 10:11:24 -05:00
logic added default acl value option for networks 2022-03-17 13:24:57 -04:00
models added default acl value option for networks 2022-03-17 13:24:57 -04:00
mq sync hotfix 2022-02-22 16:14:23 -05:00
netclient fixing windows join issue 2022-03-15 11:11:22 -04:00
nginx updating docs 2021-08-10 23:27:13 -04:00
scripts Merge pull request #875 from gravitl/hotfix_v0.11.1_windows_powershell 2022-03-08 07:52:48 -05:00
servercfg remove comms CIDR from server conf 2022-02-22 15:04:30 -05:00
serverctl commsnet else init 2022-03-17 13:54:41 -04:00
test updating README 2021-10-07 10:11:52 -04:00
validation refactored logic 2021-10-26 12:50:34 -04:00
.dockerignore reorg of dockerfiles 2021-10-07 11:12:25 -04:00
.fpm add rpms 2022-03-09 15:28:39 -05:00
.gitignore changed dir name and added to gitignore, removed log 2022-03-11 11:48:08 -05:00
CONTRIBUTING.md Create CONTRIBUTING.md 2022-01-20 08:19:23 -05:00
Dockerfile move wg to container 2022-02-25 18:04:42 -05:00
go.mod logic/accesskeys: math.Rand -> crypto.Rand 2022-03-16 22:19:22 -05:00
go.sum logic/accesskeys: math.Rand -> crypto.Rand 2022-03-16 22:19:22 -05:00
LICENSE.txt updating docs 2021-04-14 13:16:56 -04:00
main.go putting acl check before server pull 2022-03-13 21:35:22 -04:00
README.md adding image folder 2022-03-16 07:21:58 -04:00
SECURITY.md Update SECURITY.md 2022-02-12 12:56:57 -05:00

a platform for blazing fast and dynamic 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):

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

Upon completion, the logs will display the instructions to connect various devices. These can also be retrieved 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).
wget -qO - https://raw.githubusercontent.com/gravitl/netmaker/master/scripts/nm-quick.sh | sudo bash -s -- -v true -c 10

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

Script Options

./nm-quick
-d domain.example.com # specify a wildcard domain for netmaker to use (DNS must point to this server)
-e myemail@example.com # 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.