« 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 42 : | Ligne 42 : | ||
<html> | |||
< | <script src='https://storage.ko-fi.com/cdn/scripts/overlay-widget.js'></script> | ||
<script> | |||
kofiWidgetOverlay.draw('yakakliker', { | |||
'type': 'floating-chat', | |||
'floating-chat.donateButton.text': 'Donate', | |||
'floating-chat.donateButton.background-color': '#00b9fe', | |||
'floating-chat.donateButton.text-color': '#fff' | |||
}); | |||
</script> | |||
</html> | </html> |
Version du 20 janvier 2025 à 13:45
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/
https://ztnet.network/installation/linux