From 86d3869baa697bb51244df5eae97d4609c373a84 Mon Sep 17 00:00:00 2001 From: Alex <31018251+afeiszli@users.noreply.github.com> Date: Wed, 28 Jul 2021 13:35:41 -0400 Subject: [PATCH] Update quick-start.rst --- docs/quick-start.rst | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/docs/quick-start.rst b/docs/quick-start.rst index 2dd1bc3b..c19636ca 100644 --- a/docs/quick-start.rst +++ b/docs/quick-start.rst @@ -106,25 +106,29 @@ Prepare Firewall Make sure firewall settings are appropriate for Netmaker. You need ports 53 and 443. On the server you can run: -``sudo ufw allow proto tcp from any to any port 443 && sudo ufw allow dns`` +``sudo ufw allow proto tcp from any to any port 443 && sudo ufw allow dns && `` -Based on your cloud provider, you may also need to set inbound security rules for your server. This will be dependent on your cloud provider. Be sure to check before moving on. +**Based on your cloud provider, you may also need to set inbound security rules for your server. This will be dependent on your cloud provider. Be sure to check before moving on:** + - allow 443/tcp from all + - allow 1443/tcp from all + - allow 53/udp from all Prepare Nginx ----------------- Nginx will serve the SSL certificate with your chosen domain and forward traffic to netmaker. -Add the nginx configuration file: +Add the nginx configuration files: -``wget https://github.com/gravitl/netmaker/TEMPLATE.conf`` +``wget https://raw.githubusercontent.com/gravitl/netmaker/develop/nginx/netmaker-nginx-template.conf`` + +``wget https://raw.githubusercontent.com/gravitl/netmaker/develop/nginx/netmaker-nginx-dns.conf`` Insert your domain in the configuration file and add to nginx: -``sed -i ‘s/NETMAKER_BASE_DOMAIN//g’ netmaker-nginx-template.conf`` +``sed -i 's/NETMAKER_BASE_DOMAIN//g' netmaker-nginx-template.conf `` -``sudo cp netmaker-nginx-template.conf /etc/nginx/conf.d/.conf`` -``sudo cp netmaker-nginx-dns.conf /etc/nginx/nginx.conf`` +``sudo cp netmaker-nginx-template.conf /etc/nginx/conf.d/.conf && sudo cp netmaker-nginx-dns.conf /etc/nginx/nginx.conf`` ``nginx -t && nginx -s reload``