config | ||
controllers | ||
docs | ||
functions | ||
grpc | ||
licensing | ||
models | ||
mongoconn | ||
netclient | ||
test | ||
.gitignore | ||
defaultvalues.sh | ||
docker-compose.yml | ||
Dockerfile | ||
go.sum | ||
main.go | ||
mesh-diagram.png | ||
netmaker.png | ||
README.md | ||
user_test.go |
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?
- Create a flat, secure network between multiple/hybrid cloud environments
- Integrate central and edge services + IoT
- Secure an office or home network while providing remote connectivity
- Manage cryptocurrency proof-of-stake machines
- Provide an additional layer of security on an existing network
- Encrypt Kubernetes inter-node communications
- 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):
- Create an access token on github with artifact access.
- On your VPS, create a file in the home dir called TOKEN.txt with the value of your token inside.
cat ~/TOKEN.txt | sudo docker login https://docker.pkg.github.com -u GITHUB_USERNAME --password-stdin
Setup Server:
- Clone this repo or just copy contents of "docker-compose.yml" to a machine with a public IP.
- In docker-compose.yml, change BACKEND_URL to the public IP ofthat machine.
- Run
sudo docker-compose up
- 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).
- Create the admin user
- Click "Create Group" and fill out the details (group == network)
- 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.
- Get the binary:
curl -vLJO -H 'Authorization: token YOUR_ACCESS_TOKEN' 'https://github.com/gravitl/netmaker/releases/download/v0.1/netclient'
- Make it executable:
sudo chmod +x meshclient
- 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.