|
| 1 | +# Netbird |
| 2 | + |
| 3 | +## Setup Netbird Server |
| 4 | + |
| 5 | +We've documented the process of setting up Netbird server via [Kubeaid Netbird](https://github.com/Obmondo/KubeAid/blob/master/argocd-helm-charts/netbird/README.md) helm chart. |
| 6 | +It also includes keycloak configuration, making it easier to setup user accounts with ease. |
| 7 | + |
| 8 | +Access the [Keycloak Admin Console](https://keycloak.example.com/auth/admin/master/console), change the realm, and then add users. |
| 9 | + |
| 10 | +## Setup Netbird Client |
| 11 | + |
| 12 | +> We've automated the Netbird installation on Linux using [LinuxAid](https://github.com/obmondo/linuxaid). For other operating systems you'll have to install Netbird client manually from [Netbird Github Releases](https://github.com/netbirdio/netbird/releases), and then use the configurations provided in [puppet netbird](https://github.com/Obmondo/LinuxAid/blob/master/modules/enableit/common/manifests/network/netbird.pp). |
| 13 | +
|
| 14 | +All the configurations required for setting up Netbird client is documented in [Linuxaid Netbird References](https://github.com/Obmondo/LinuxAid/blob/master/modules/enableit/common/REFERENCE.md#common--network--netbird). |
| 15 | + |
| 16 | +### Prerequisites |
| 17 | + |
| 18 | +- A linux server/machine with root user access. |
| 19 | +- Linuxaid installed and configured on your server/machine. |
| 20 | + |
| 21 | +### The Updated Approach (using Obmondo UI) |
| 22 | + |
| 23 | +1. Login to Obmondo, and go to servers page. |
| 24 | +2. Click on your server, and click on "Configure". |
| 25 | +3. An interactive UI wizard will pop-up, where you can configure the changes Linuxaid offers. |
| 26 | +4. Go to `common::network::netbird` to see all the available options. |
| 27 | +5. Enable netbird, provide the server url, and setup key. |
| 28 | +6. Verify the changes made, and then click on Apply. |
| 29 | +7. Our engineers will be notified of this change, and once reviewed, the change will be live. |
| 30 | + |
| 31 | +### The Manual Approach |
| 32 | + |
| 33 | +Configure your server/machine in `linuxaid-config` to enable netbird client installation |
| 34 | + |
| 35 | +my-machine.yaml |
| 36 | + |
| 37 | + ```yaml |
| 38 | + common::network::netbird::enable: false |
| 39 | + common::network::netbird::server: https://vpn.example.com |
| 40 | + common::network::netbird::setup_key: <encrypted setup key using hiera-eyaml> |
| 41 | + |
| 42 | + # Optionally, you can specify the specific netbird client version with the checksum. By default, Linuxaid maintains a stable version of netbird client, and updates them on regular basis. |
| 43 | + common::network::netbird::version: 0.59.3 |
| 44 | + common::network::netbird::checksums: |
| 45 | + 0.59.3: 1a251bfecd6ffbe633bc985e382b12efb1f5b5bd9ec8c2543b5cfa7d7ce4070a |
| 46 | + 0.60.0: 0774801213f95392684efe3f13b746bab0f633b3546b9063860b073fe153c6e4 |
| 47 | + ``` |
| 48 | + |
| 49 | +### Verifying Netbird Installation |
| 50 | + |
| 51 | +1. Puppet/Openvox will fetch the updated changes in a while |
| 52 | +2. Check if the netbird client is installed and is configured correctly. |
| 53 | + |
| 54 | + ```sh |
| 55 | + # Optionally you can pass -d flag for more information |
| 56 | + netbird status |
| 57 | + ``` |
| 58 | +3. Access the [Netbird Server](https://vpn.example.com) and verify if your machine is listed in the connected peers. |
0 commit comments