« 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 40 : | Ligne 40 : | ||
[[Catégorie:VPN]] | [[Catégorie:VPN]] | ||
[[Catégorie:Reseau]] | [[Catégorie:Reseau]] | ||
<html> | |||
<a href='https://ko-fi.com/K3K1152TZU' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi3.png?v=6' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a> | |||
</html> |
Version du 17 janvier 2025 à 10:42
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/