Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
Find a file
2021-03-27 08:46:00 -04:00
config first commit 2021-03-25 12:17:52 -04:00
controllers adding returns for auth to remove superfluous writeheader calls 2021-03-26 16:13:51 -04:00
docs updating docs 2021-03-25 12:44:57 -04:00
functions hotfixes for repo. Now works. 2021-03-25 22:29:36 -04:00
grpc first commit 2021-03-25 12:17:52 -04:00
licensing first commit 2021-03-25 12:17:52 -04:00
models first commit 2021-03-25 12:17:52 -04:00
mongoconn first commit 2021-03-25 12:17:52 -04:00
netclient fix to roaming feature 2021-03-26 11:18:24 -04:00
test first commit 2021-03-25 12:17:52 -04:00
.gitignore first commit 2021-03-25 12:17:52 -04:00
defaultvalues.sh hotfixes for repo. Now works. 2021-03-25 22:29:36 -04:00
docker-compose.yml modify docker compose 2021-03-25 12:59:14 -04:00
Dockerfile first commit 2021-03-25 12:17:52 -04:00
go.sum checkpoint commit 2021-03-27 08:46:00 -04:00
main.go hotfixes for repo. Now works. 2021-03-25 22:29:36 -04:00
mesh-diagram.png first commit 2021-03-25 12:17:52 -04:00
netmaker.png updating logo 2021-03-25 13:00:39 -04:00
README.md changing build step 2021-03-25 12:51:30 -04:00
user_test.go checkpoint commit 2021-03-27 08:46:00 -04:00

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: 0. While repo is private, you'll need your github access key for next step.

  1. Get the binary: curl -vLJO -H 'Authorization: token YOUR_ACCESS_TOKEN' 'https://github.com/gravitl/netmaker/releases/download/v0.1/netclient'
  2. Make it executable: sudo chmod +x meshclient
  3. 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.