How To Install

Prerequisites

Virtual Machine

DNS

Get a License

Open Firewall & Security Group for Virtual Machine

  1. Open the following ports on on the VM and in any cloud security groups/settings, allowing inbound from all:
  • 443 (tcp)
  • 51821-51830 (udp)
  • 53 (tcp/udp)

Firewall Commands on Ubuntu 22.04:

 sudo ufw allow proto tcp from any to any port 443 
 sudo ufw allow 51821:51830/udp 
 sudo ufw allow 53 
  iptables --policy FORWARD ACCEPT 

Prepare Virtual Machine

Install Dependencies:

 sudo apt-get update 
 sudo apt-get install -y docker.io docker-compose wireguard 

Get Your Server’s Public IP:

   ip route get 1 | sed -n 's/^.*src \([0-9.]*\) .*$/\1/p' 

Generate Your Master Key:

 tr -dc A-Za-z0-9 </dev/urandom | head -c 30 ; echo '' 

Generate Your MQ Admin Password:

 tr -dc A-Za-z0-9 </dev/urandom | head -c 30 ; echo '' 

Get Config Files:

   wget -O docker-compose.yml https://raw.githubusercontent.com/gravitl/netmaker/master/compose/docker-compose.ee.yml && wget -O /root/mosquitto.conf https://raw.githubusercontent.com/gravitl/netmaker/master/docker/mosquitto.conf && wget -q -O /root/wait.sh https://raw.githubusercontent.com/gravitl/netmaker/develop/docker/wait.sh && chmod +x wait.sh
 

Replace Values in Docker-Compose:

 sed -i 's/NETMAKER_BASE_DOMAIN/<your base domain>/g' docker-compose.yml 
 sed -i 's/SERVER_PUBLIC_IP/<Your Server’s Public IP>/g' docker-compose.yml 
 sed -i 's/YOUR_EMAIL/<Your Email>/g' docker-compose.yml 
 sed -i 's/REPLACE_MASTER_KEY/<Your Generated Master Key>/g' docker-compose.yml 
 sed -i "s/REPLACE_MQ_ADMIN_PASSWORD/<Your MQ Admin Password>/g" /root/docker-compose.yml 
 sed -i "s~YOUR_LICENSE_KEY~<Your License Key>~g" /root/docker-compose.yml 
 sed -i "s/YOUR_ACCOUNT_ID/<Your Account ID>/g" /root/docker-compose.yml 

Start Netmaker

 sudo docker-compose up -d 

Navigate to dashboard.<Your Base Domain> to begin using Netmaker!

Upgrading your Netmaker Subscription

Your free Netmaker license comes with the following limits:

          Netmaker Servers: 1

          Netmaker Users: 1

          Netclients: 50

          Ext Clients: 20    

If you would like to expand your Netmaker deployment, consider a paid license. To start, log into the dashboard, and click on "Purchase a License." Click "Continue to Purchase" and select the amount of each component that you would like as your "limit." After the purchase is completed and verified, you will have a new license key which you can use in your Netmaker server.

How To Purchase

You will have the option of choosing to pay yearly or monthly. You will also see a layout of the cost of each node, server, user, and ext client.

Customize your plan

You will have the option of choosing to pay yearly or monthly. You will also see a layout of the cost of each node, server, user, and ext client.

Success!

After a successful payment, you will get a confirmation email containing your new license key.