Wiki » Konfiguracja usług dostępnych w JustNetpl » VPN »
Tailscale / Headscale¶
- Android instalacjainstalacja
Instalujemy aplikacje z play store
- Linux Debian Sid instalacjainstalacja
rdate -n ntp.task.gda.pl; \ apt-get update; \ apt-get install -y curl; \ curl -fsSL https://pkgs.tailscale.com/stable/debian/sid.noarmor.gpg | tee /usr/share/keyrings/tailscale-archive-keyring.gpg >/dev/null; \ curl -fsSL https://pkgs.tailscale.com/stable/debian/sid.tailscale-keyring.list | tee /etc/apt/sources.list.d/tailscale.list; \ apt-get update; \ apt-get install tailscale; \ #tailscale up --login-server 0vpn.justnet.pl --authkey $AUTH_KEY; \
Dodatkowe ustawienia- import tras z serwera 0vpn.justnet.pl
tailscale set --accept-routes
- default route via vpn.jn
tailscale set --exit-node=vpn.jn
- dostęp do lan
tailscale set --exit-node-allow-lan-access
- server: udostępnianie tras
tailscale set --advertise-routes=x.x.x.x/zz
- server: propagacja informacji o byciu gateway
tailscale set --advertise-exit-node
- exit-node : wyłączenie nadpisywania dns
tailscale set --accept-dns=false
- import tras z serwera 0vpn.justnet.pl