- Obtain
FIREZONE_TOKEN
- Go to the
portal
and log in - Go to
Sites
-> pick your site -> click+ Deploy Gateway
-> clicksystemd
-> copyFIREZONE_TOKEN
- Save the token to the clipboard
- Go to the
- Run the script with variables:
- where
FIREZONE_TOKEN
is token fromPreparation
stageFIREZONE_API_URL
is path toapi
service (EXTERNAL_URL
withhttps
replaced bywss
)
- where
FIREZONE_TOKEN="<TOKEN>" \
FIREZONE_API_URL="wss://<URL>" \
bash <(curl -fsSL https://raw.githubusercontent.com/DoctorFTB/firezone-1.x-self-hosted/main/gateway/gateway-install.sh)