mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
Fixes #2363 * Rename `relay` package to `firezone-relay` so that binaries outputted match the `firezone-*` cli naming scheme * Rename `firezone-headless-client` package to `firezone-linux-client` for consistency * Add READMEs for user-facing CLI components (there will also be docs later)
665 B
665 B
linux-client
This crate houses the Firezone linux client.
Building
You can build the linux client using:
cargo build --release --bin firezone-linux-client
You should then find a binary in target/release/firezone-linux-client.
Running
To run the linux client:
firezone-linux-client --portal_token <portal_token>
where portal_token is the token shown when creating a client group in the
Firezone admin portal.
If you're running as an unprivileged user, you'll need the CAP_NET_ADMIN
capability to open /dev/net/tun. You can add this to the client binary with:
sudo setcap 'cap_net_admin+eip' /path/to/firezone-linux-client