« Zerotier : Installation d'un contrôleur » : différence entre les versions
De www.yakakliker.org
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 34 : | Ligne 34 : | ||
https://sirlagz.net/2023/07/11/how-to-self-host-a-zerotier-controller-on-debian-11/ | https://sirlagz.net/2023/07/11/how-to-self-host-a-zerotier-controller-on-debian-11/ | ||
https://ztnet.network/installation/linux | |||
[[Catégorie:Zerotier]] | [[Catégorie:Zerotier]] | ||
[[Catégorie:Linux]] | [[Catégorie:Linux]] | ||
[[Catégorie:VPN]] | [[Catégorie:VPN]] | ||
[[Catégorie:Reseau]] | [[Catégorie:Reseau]] |
Version du 18 septembre 2024 à 10:51
Install zerotier-one as per instructions here: zerotier.com/download.shtml.
curl -O https://s3-us-west-1.amazonaws.com/key-networks/deb/ztncui/1/x86_64/ztncui_0.8.14_amd64.deb
sudo apt install ./ztncui_0.8.14_amd64.deb
Optional: install TLS/SSL certificate as per instructions below, or skip this step to use the default self-signed certificate.
Restrict access to port 3443 on the public network interface to your IP address (at least until the admin password is set).
sudo sh -c "echo ZT_TOKEN=`sudo cat /var/lib/zerotier-one/authtoken.secret` > /opt/key-networks/ztncui/.env"
sudo sh -c "echo HTTPS_PORT=3443 >> /opt/key-networks/ztncui/.env"
sudo sh -c "echo NODE_ENV=production >> /opt/key-networks/ztncui/.env"
sudo chmod 400 /opt/key-networks/ztncui/.env
sudo chown ztncui.ztncui /opt/key-networks/ztncui/.env
sudo systemctl restart ztncui
Connect to port 3443 over HTTPS in your web browser - e.g. https://my.network.controller:3443
Log in as user admin with password password.
Lien
https://key-networks.com/ztncui/
https://sirlagz.net/2023/07/11/how-to-self-host-a-zerotier-controller-on-debian-11/