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

afeiszli 6ed6180520 adding ampersands il y a 4 ans
config 0bacbd9f6c first commit il y a 4 ans
controllers 2063b3dcdc adding returns for auth to remove superfluous writeheader calls il y a 4 ans
docs 8caac00a87 updating docs il y a 4 ans
functions e489a18492 hotfixes for repo. Now works. il y a 4 ans
grpc 0bacbd9f6c first commit il y a 4 ans
licensing 0bacbd9f6c first commit il y a 4 ans
models 0bacbd9f6c first commit il y a 4 ans
mongoconn 0bacbd9f6c first commit il y a 4 ans
netclient 28110da266 added prereq check for ipv4 forwarding and for wireguard il y a 4 ans
test 0bacbd9f6c first commit il y a 4 ans
.gitignore 0bacbd9f6c first commit il y a 4 ans
Dockerfile 0bacbd9f6c first commit il y a 4 ans
README.md 78f36921ab changing build step il y a 4 ans
defaultvalues.sh e489a18492 hotfixes for repo. Now works. il y a 4 ans
docker-compose.yml 41e00903aa modify docker compose il y a 4 ans
go.mod 0646ab47f8 checkpoint il y a 4 ans
go.sum 0646ab47f8 checkpoint il y a 4 ans
main.go e489a18492 hotfixes for repo. Now works. il y a 4 ans
mesh-diagram.png 0bacbd9f6c first commit il y a 4 ans
netmaker.png 1ced7fe53a updating logo il y a 4 ans
user_test.go 6ed6180520 adding ampersands il y a 4 ans

README.md

Connect any computers together over a secure, fast, private network, and manage multiple networks from a central server.

What is Netmaker?

Netmaker lets you easily create secure virtual networks: Just spin up a Netmaker server and install the agent on your computers. Netmaker relies on WireGuard to create encrypted tunnels between every node in your virtual network, creating a mesh overlay. Netmaker takes the work out of manually configuring machines and updating them every time something changes in your network. The agents are self-updating and pull necessary changes from the server.

Netmaker also has a handy dandy UI, which you can find in this repo. We recommend deploying the UI alongside the server to make the experience easier and better.

Why Netmaker?

  1. Create a flat, secure network between multiple/hybrid cloud environments
  2. Integrate central and edge services + IoT
  3. Secure an office or home network while providing remote connectivity
  4. Manage cryptocurrency proof-of-stake machines
  5. Provide an additional layer of security on an existing network
  6. Encrypt Kubernetes inter-node communications
  7. Secure site-to-site connections

Docs

For more information, please read the docs, or check out the Quick Start below:

Compatible Systems

This should work on most linux systems that have systemd. It works with Fedora, Ubuntu, and Raspian. Just make sure you have wireguard installed (WireGuard tools). It is recommended to also enable port forwarding, or you may have issues behind NAT.

Quick Start

Setup Docker (Prereq):

  1. Create an access token on github with artifact access.
  2. On your VPS, create a file in the home dir called TOKEN.txt with the value of your token inside.
  3. cat ~/TOKEN.txt | sudo docker login https://docker.pkg.github.com -u GITHUB_USERNAME --password-stdin

Setup Server:

  1. Clone this repo or just copy contents of "docker-compose.yml" to a machine with a public IP.
  2. In docker-compose.yml, change BACKEND_URL to the public IP ofthat machine.
  3. Run sudo docker-compose up
  4. Navigate to your IP and you should see the WireCat UI asking for a new admin user (if not or if it takes you straight to login screen without asking for user creation, investigate the error).
  5. Create the admin user
  6. Click "Create Group" and fill out the details (group == network)
  7. You are now ready to begin using WireCat. Create a key or "allow manual node sign up."

Run on each machine in network:

  1. While repo is private, you'll need your github access key for next step.
  2. Get the binary: curl -vLJO -H 'Authorization: token YOUR_ACCESS_TOKEN' 'https://github.com/gravitl/netmaker/releases/download/v0.1/netclient'
  3. Make it executable: sudo chmod +x meshclient
  4. Run the install command: sudo ./meshclient -c install -g <group name> -s <server:port> -k <key value>

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 under the "licensing" directory: LICENSE.txt.