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 5f690a8a72 staticcheck version 3 years ago
.github 5f690a8a72 staticcheck version 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 711d92130d refactored logic for Hub change 3 years ago
database 5e327fdea4 set max open conns to 1 for sqlite 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 9b63763e4d removeLocalServer only if node.IsServer 3 years ago
models 3a457931fe retain traffickeys 3 years ago
mq 8efa2b1ea6 update server mq connection logic to match client 3 years ago
netclient a326e0464c update version numbers to 14.4 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 89d64d51d1 fix statticcheck errors 3 years ago
test 7152f6ccd4 remove references to grpc/comms net 3 years ago
tls 8f8272aad7 certificate cleanup 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 c39127752f only check for zombies on same network 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.