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

Matthew R. Kasun dada57aad8 use ubuntu-22.04 for tests/staticcheck 3 years ago
.github dada57aad8 use ubuntu-22.04 for tests/staticcheck 3 years ago
auth ed0f992142 changed context from deprecated no context 3 years ago
compose a326e0464c update version numbers to 14.4 3 years ago
config 53b3e7f415 configurable mq ports 3 years ago
controllers ceff78a971 refactoring cert logic to use database 3 years ago
database a0baa9dc94 adding functions to handle certs in DB 3 years ago
docker d34cf98932 delete wg interfaces on netclient docker shutdown 3 years ago
functions 2b1f20e94b changes from code review 3 years ago
img 2a48679d98 updated readme 3 years ago
kube 7152f6ccd4 remove references to grpc/comms net 3 years ago
logger 333a140c74 moved mutex 3 years ago
logic bf28b27df7 added better checks for HA servers 3 years ago
models 9d610e3e2b update validation of usernames 3 years ago
mq 18ca55402f removed useless continue 3 years ago
netclient ceff78a971 refactoring cert logic to use database 3 years ago
nginx 7152f6ccd4 remove references to grpc/comms net 3 years ago
scripts aebf652420 Fixed incorrect flag. 3 years ago
servercfg 8d422526b3 refactoring servercfg 3 years ago
serverctl 97b11a53d3 first connection established 3 years ago
test 7152f6ccd4 remove references to grpc/comms net 3 years ago
tls 4220e07bff initial changes to make cert <-> broker comms work 3 years ago
validation 8f72ecbaa0 refactored logic 3 years ago
.dockerignore 974627a9ab reorg of dockerfiles 3 years ago
.fpm ab3e643d5e add rpms 3 years ago
.gitignore bc1eb17bad removing windows installer portions 3 years ago
CONTRIBUTING.md 95659ef0a5 Create CONTRIBUTING.md 3 years ago
Dockerfile 3a3cd83e85 speedup docker builds 3 years ago
LICENSE.txt 375482c16d updating docs 4 years ago
README.md a326e0464c update version numbers to 14.4 3 years ago
SECURITY.md d53bfd6ab1 Update SECURITY.md 3 years ago
dev.yaml 501108b53d Remove config.Server.Debug 3 years ago
go.mod 9184e26843 Bump github.com/golang-jwt/jwt/v4 from 4.4.1 to 4.4.2 3 years ago
go.sum 9184e26843 Bump github.com/golang-jwt/jwt/v4 from 4.4.1 to 4.4.2 3 years ago
main.go 2aafccdcef added log and sharpened up 3 years ago

README.md

Y-Combinator

WireGuard® automation from homelab to enterprise

Create & Automate Manage
:heavy_check_mark: WireGuard Networks :heavy_check_mark: Admin UI
:heavy_check_mark: Remote Access Gateways :heavy_check_mark: OAuth
:heavy_check_mark: Mesh VPNs :heavy_check_mark: Private DNS
:heavy_check_mark: Site-to-Site :heavy_check_mark: Access Control Lists

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, 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 [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.