Skip to content

Commit 3cc1c35

Browse files
authored
Merge pull request #317 from gravitl/develop
Develop
2 parents 8981a72 + 06c43c4 commit 3cc1c35

27 files changed

+371
-431
lines changed

advanced-client-install.rst

-39
Original file line numberDiff line numberDiff line change
@@ -75,35 +75,6 @@ Event id 0 in Windows Event logs
7575
---------------------------------
7676
netclient service is delegated to Winsw on Windows. An issue is reported that the stop/start/restart events in Event logs show event id as 0 always. It does not impact any netclient functions.
7777

78-
Notes on OpenWRT
79-
===========================
80-
81-
Deploying on OpenWRT depends a lot on the version of OpenWRT and the hardware being used.
82-
83-
1. Ensure you download the appropriate binary for your architecture. replace ${VERSION} with the version you want to download
84-
85-
a. https://github.com/gravitl/netclient/releases/download/${VERSION}/netclient-linux-amd64
86-
b. https://github.com/gravitl/netclient/releases/download/v0.20.5/netclient-linux-arm64
87-
c. https://github.com/gravitl/netclient/releases/download/v0.20.5/netclient-linux-armv5
88-
d. https://github.com/gravitl/netclient/releases/download/v0.20.5/netclient-linux-armv6
89-
e. https://github.com/gravitl/netclient/releases/download/v0.20.5/netclient-linux-armv7
90-
f. https://github.com/gravitl/netclient/releases/download/v0.20.5/netclient-linux-mips-hardfloat
91-
g. https://github.com/gravitl/netclient/releases/download/v0.20.5/netclient-linux-mips-softfloat
92-
h. https://github.com/gravitl/netclient/releases/download/v0.20.5/netclient-linux-mipsle-hardfloat
93-
i. https://github.com/gravitl/netclient/releases/download/v0.20.5/netclient-linux-mipsle-softfloat
94-
95-
2. run netclient install (note: all netclient commands must be run as root) will install the netclient binary to /usr/bin/netclient and service file to /etc/init.d/netclient
96-
97-
3. to start/stop the netclient daemon run
98-
99-
.. code-block::
100-
101-
/sbin/rc-service netclient start/stop
102-
103-
4. run other netclient commands (join, list, connect, disconnect, pull etc ) as required
104-
105-
106-
10778
Modes and System Compatibility
10879
==================================
10980

@@ -222,16 +193,6 @@ If the daemon is not running correctly, try restarting the daemon, or pulling ch
222193
``sudo netclient pull``
223194

224195

225-
Making Updates
226-
----------------
227-
228-
``vim /etc/netclient/config/netconfig-<network>``
229-
230-
Change any of the variables in this file, and changes will be pushed to the server and processed locally on the next checkin.
231-
232-
For instance, change the private address, endpoint, or name. See above example config file for details
233-
234-
235196
Adding/Removing Networks
236197
---------------------------
237198

getting-started.rst

-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Getting Started
1010
netclient
1111
advanced-client-install
1212
server-installation
13-
oauth
1413

1514
Setup
1615
=================
@@ -189,4 +188,3 @@ Uninstalling Netmaker
189188
===========================
190189

191190
To uninstall Netmaker from the server, simply run ``docker-compose down`` or ``docker-compose down --volumes`` to remove the docker volumes for a future installation.
192-

install.rst

+47-9
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,44 @@ Install
55
Choose the install method that makes sense for you.
66

77

8+
Prerequisites
9+
==================
10+
11+
Server
12+
-----------------
13+
14+
All components of Netmaker can be run on a single server (Virtual Machine or Bare Metal). Here some recommendations for setting up the server:
15+
16+
- We **highly recommend** that Netmaker be deployed in a dedicated networking environment.
17+
- The machine should have a public, static IP address
18+
- The machine should have at least 1GB RAM and 1 CPU (2GB RAM preferred for production installs)
19+
- 2GB+ of storage
20+
- Ubuntu 24.04 Installed
21+
22+
If you do not have a host for this server, here are some recommendations:
23+
24+
- `DigitalOcean (preferred) <https://www.digitalocean.com>`_
25+
- `Linode <https://www.linode.com>`_
26+
- `KeepSec <https://www.keepsec.ca>`_
27+
- `AWS <https://aws.amazon.com>`_
28+
- `Azure <https://azure.microsoft.com>`_
29+
- `GCP <https://cloud.google.com>`_
30+
- We **do not** recommend Oracle Cloud. There are known issues with their network configuration.
31+
32+
Domain
33+
--------
34+
35+
Your server will host several services (netmaker server, UI, etc.) each of which requires a dedicated, public subdomain. Here are some recommendations:
36+
37+
- Use a publicly owned domain (e.x. example.com, mysite.biz)
38+
- Designate a subdomain (e.g. netmaker.example.com) for netmaker's services (e.g. dashboard.netmaker.example.com)
39+
- Make sure you have permission and access to modify DNS records for your domain (e.x: Route53)
40+
- **Note on Cloudflare:** Many of our users use Cloudflare. Cloudflare will proxy connections, which MQ does not like. This can be disabled in the Cloudflare DNS dashboard. If setting up your Netmaker server using Cloudflare for DNS, be aware that the configuration of Cloudflare proxy may cause problems with Netmaker which must be resolved, and at this point, Netmaker is not providing guidance on this setup.
41+
42+
43+
Quick Install
44+
==================
45+
846
1. **We recommend using the nm-quick script for self-hosted/On-Prem setup.**
947

1048
.. code-block::
@@ -17,6 +55,11 @@ Choose the install method that makes sense for you.
1755

1856
**IMPORTANT:** From v0.22.0 the install script will install PRO version of netmaker with a 14-day free trial, for you to try out full capabilities of netmaker.
1957

58+
Integrating OAuth
59+
====================
60+
61+
Users are also allowed to join a Netmaker server via OAuth. They can do this by clicking the "Login with SSO" button on the dashboard's login page. Check out the :doc:`integrating oauth docs <./oauth>`.
62+
2063
After trial period ends:
2164
=========================
2265

@@ -29,16 +72,11 @@ After trial period ends:
2972

3073
i. Run `/root/nm-quick.sh -d`
3174

32-
2. **To get started the easiest way, visit our SaaS platform to set up a netmaker server with just a few clicks** `<https://app.netmaker.io>`_
33-
34-
35-
3. :doc:`check out these steps for manual installation process for on-prem, although we don't recommend this path, instead use the install script mentioned above<./manual-install>`
36-
37-
4. :ref:`Kubernetes Installation <KubeInstall>`
3875

39-
5. :ref:`Non-Docker (from binary) Install <NoDocker>`
76+
1. **To get started the easiest way, visit our SaaS platform to set up a netmaker server with just a few clicks** `<https://app.netmaker.io>`_
4077

41-
6. :ref:`Highly Available Installation <HAInstall>`
78+
2. :doc:`check out these steps for manual installation process for on-prem, although we don't recommend this path, instead use the install script mentioned above<./manual-install>`
4279

43-
7. :doc:`Advanced Install Resources <./server-installation>`
80+
3. :ref:`Highly Available Installation <HAInstall>`
4481

82+
4. :doc:`Advanced Install Resources <./server-installation>`

license.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
License
33
=======
44

5-
Netmaker's source code and all artifacts in this repository are freely available. All versions are published under the Aache License, which can be found `here <https://raw.githubusercontent.com/gravitl/netmaker/master/LICENSE.md>`_.
5+
Netmaker's source code and all artifacts are available in this GitHub Organization `Gravitl <https://github.com/gravitl>`_. All versions of netmaker are published under a License, which can be found `here <https://raw.githubusercontent.com/gravitl/netmaker/master/LICENSE.md>`_.
66

manual-install.rst

+6-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Server
2727

2828
All components of Netmaker can be run on a single server (Virtual Machine or Bare Metal). Here some recommendations for setting up the server:
2929

30-
- We **highly recommend** that Netmaker be deployed in a dedicated networking environment. It should not share a local network with the clients which it will be managing. This can cause routing issues.
30+
- We **highly recommend** that Netmaker be deployed in a dedicated networking environment.
3131
- The machine should have a public, static IP address
3232
- The machine should have at least 1GB RAM and 1 CPU (2GB RAM preferred for production installs)
3333
- 2GB+ of storage
@@ -267,6 +267,11 @@ Then run
267267
268268
ln -fs /root/netmaker.env /root/.env
269269
270+
Integrating OAuth
271+
--------------------
272+
273+
Users are also allowed to join a Netmaker server via OAuth. They can do this by clicking the "Login with SSO" button on the dashboard's login page. Check out the :doc:`integrating oauth docs <./oauth>`.
274+
270275
6. Start Netmaker
271276
==================
272277

netclient.rst

+4-11
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,6 @@ Arch Distros (arch/manjaro/endeavouros)
7474
7575
yay -S netclient
7676
77-
OpenWRT Distros (mips/mipsle)
78-
------------------------------------------------
79-
80-
.. code-block::
81-
82-
refer to Advanced Client Installation :ref:`advanced-client-install:Notes on OpenWRT`
8377
8478
OpenSUSE (tumbleweed/leap)
8579
---------------------------------------------------------------------
@@ -99,7 +93,7 @@ Windows
9993
Bundled Installer
10094
-----------------
10195

102-
Download Link: https://fileserver.netmaker.org/latest/netclientbundle.exe
96+
Download Link: https://fileserver.netmaker.org/releases/download/latest/netclientbundle.exe
10397

10498
Mac
10599
============
@@ -113,14 +107,13 @@ Brew Install
113107
(optional) brew audit netclient
114108
brew install netclient
115109
116-
GUI Installer (for v0.22.0 and below)
110+
Installer
117111
-------------------------------------
118112

119-
Download Link for Apple silicon: https://fileserver.netmaker.org/releases/download/v0.22.0/Netclient-M1.pkg
113+
Download Link for Apple silicon: https://fileserver.netmaker.org/releases/download/latest/Netclient-M1.pkg
120114

121-
Download Link for Apple Intel: https://fileserver.netmaker.org/releases/download/v0.22.0/Netclient-Intel.pkg
115+
Download Link for Apple Intel: https://fileserver.netmaker.org/releases/download/latest/Netclient-Intel.pkg
122116

123-
Replace version number in URL with the version you want to install.
124117

125118

126119
Docker

oauth.rst

+5-31
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ Configuring your provider
1818

1919
In order to use OAuth, configure your OAuth provider (GitHub, Google, Azure AD).
2020

21-
You must configure your provider (except for Azure AD) to use the Netmaker Dashboard URI dashboard.<netmaker.base.domain> as the origin URL.
21+
You must configure your provider (except for Azure AD) to use the Netmaker Dashboard URI: dashboard.<netmaker.base.domain> as the origin URL.
2222

2323
For example: `https://dashboard.netmaker.mydomain.com`
2424

25-
You must configure your provider to use the Netmaker API URI redirect route with the following format: https://api.<netmaker base domain>/api/oauth/callback.
25+
You must configure your provider to use the Netmaker API URI redirect route with the following format: api.<netmaker base domain>/api/oauth/callback
2626

2727
For example: `https://api.netmaker.mydomain.com/api/oauth/callback`
2828

@@ -48,46 +48,20 @@ Next, Configure Netmaker with the following environment variables. If any are le
4848
SERVER_HTTP_HOST: "api.<netmaker base domain>"
4949
FRONTEND_URL: "https://dashboard.<netmaker base domain>"
5050
AZURE_TENANT: "<only for azure, you may optionally specify the tenant for the OAuth>"
51-
OIDC_ISSUER: "<only for oidc, your issuer endpoint for OIDC ie. http://127.0.0.1:5556/dex"
51+
OIDC_ISSUER: "<only for oidc, your issuer endpoint for OIDC> ie. http://127.0.0.1:5556/dex"
5252
5353
After restarting your server, the Netmaker logs will indicate if the OAuth provider was successfully initialized:
5454

5555
.. code-block::
5656
5757
sudo docker logs netmaker
5858
59-
Once successful, users can click the key symbol on the login page to sign-in with your configured OAuth provider.
59+
Once successful, users can click on the "Login with SSO" button in the login page to sign-in with your configured OAuth provider.
6060

6161
.. image:: images/oauth1.jpg
6262
:alt: Login Oauth
6363
:align: center
6464

65-
66-
Configuring User Permissions
67-
===============================
68-
69-
User management is done through the Netmaker dashboard, under the Users (or Manage Account, for SaaS) section from the left navigation bar.
70-
Only server admins have access to this section and can promote users to admin status. The superadmin/tenant owner can both promote and demote users to admin status.
71-
72-
.. image:: images/user-mgmt.png
73-
:width: 80%
74-
:alt: Users
75-
:align: center
76-
77-
Normal users do not have access to the dashboard and are recommended to use our Remote Access Client to connect to the network.
78-
An admin must aforehand grant such users permission to certain networks by assigning them to remote access gateways however. View the "Remote Access" section for more information on this.
79-
80-
User creation
81-
-------------
82-
83-
To create a new user, click the "Add a User" button on the Users page. Fill in the user's details and click "Create User".
84-
85-
.. image:: images/oauth3.jpg
86-
:alt: Edit User 2
87-
:align: center
88-
89-
.. include_after_this_label
90-
9165
Oauth Users
9266
-----------
9367

@@ -98,5 +72,5 @@ Users are also allowed to join a Netmaker server via OAuth. They can do this by
9872
:alt: Pending Users
9973
:align: center
10074

101-
From v0.23.1, new accounts would be added to a pending list and would require approval from an admin before they can access any resource. This version also allows whielisting of email domains for OAuth users.
75+
From v0.23.1, new accounts would be added to a pending list and would require approval from an admin before they can access any resource. This version also allows whitelisting of email domains for OAuth users.
10276
Server admins can do that by adding a comma-separated list of domains to the `ALLOWED_EMAIL_DOMAINS` environment variable. eg: `ALLOWED_EMAIL_DOMAINS=example.net,example.com`

pro/images/14-day-trial.jpg

103 KB
Loading

pro/images/billing-info-form.jpg

72.3 KB
Loading

pro/images/missed-profile-info.jpg

107 KB
Loading

pro/images/payment-method-form.jpg

76.7 KB
Loading

pro/images/pricing-and-limits.jpg

91.1 KB
Loading

pro/images/pro-aftersignup.jpg

63.6 KB
Loading

pro/images/pro-aftersignup.png

24.2 KB
Loading

pro/images/pro-license-key2.jpg

90.3 KB
Loading

pro/images/pro-new-dashboard.jpg

93.8 KB
Loading
Loading
106 KB
Loading
36.5 KB
Loading

pro/images/tenant-name-form.jpg

39.6 KB
Loading

pro/images/tenants-list-page.jpg

44.8 KB
Loading

pro/index.rst

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Netmaker Professional
1212

1313
pro-setup
1414
pro-users
15+
../oauth
1516
pro-relay-server
1617
pro-metrics
1718
pro-branding
@@ -31,6 +32,8 @@ Netmaker Professional is our advanced Netmaker offering for business use cases.
3132

3233
- **Users:** On community you can only create admin users, where as on PRO it gives ability to create non-admin users which you can pair with remote-access gateway to segment users on different networks.
3334

35+
- **OAuth:** By integrating with an OAuth provider, Netmaker users can log in via the provider, rather than the default simple auth.
36+
3437
- **Remote Access Client:** Netmaker Professional comes with a remote access client that allows you to connect to your network from anywhere. This is a great way to connect to your network from a laptop or mobile device (soon).
3538

3639
- **FailOvers:** FailOvers are made to help two peers communicate where they cannot talk directly due to their firewall restrictions, in which case their connection falls back through a failover node set by the user in the network.

0 commit comments

Comments
 (0)