CI / Docker image (push) Successful in 12s
CI / Server (push) Successful in 25s
CI / CLI (push) Successful in 13s
Development image / Development image (push) Successful in 21s
CI / CLI (windows) (push) Successful in 57s
CI / CLI (linux-arm64, static) (push) Successful in 1m37s
Release / Prepare release (push) Successful in 2s
Release / Server (linux-x64) (push) Successful in 53s
Release / CLI (linux-arm64, static) (push) Successful in 1m32s
Release / Docker image (push) Successful in 2m48s
Release / Server (windows-x64) (push) Successful in 6m20s
Release / CLI (windows-x64) (push) Successful in 6m48s
Release / CLI (linux-x64) (push) Successful in 7m8s
Release / Publish release (push) Successful in 1s
Squash the tree into one commit, drop docs/architecture.html, reset the version line to 0.3.0, consolidate the changelog, enable Renovate automerge for non-major updates and add AGENTS.md.
3.4 KiB
3.4 KiB
🔁 Running as a service
frislit start runs every tunnel from one file and reconnects on its own. frislit service install makes it start
with your session.
The file
~/.config/frislit/tunnels.yml on Linux, ~/Library/Application Support/frislit/tunnels.yml on macOS,
%APPDATA%\frislit\tunnels.yml on Windows. Each key is the tunnel name:
tunnels:
myapp:
http: 3000
site:
serve: /var/www/site
password: hunter2
shop:
http: 3000
routes:
/api: 4000
/docs: /var/www/docs
db:
tcp: 5432
allow: [ 10.0.0.0/8 ]
block: [ tor, vpn ]
| Key | Description |
|---|---|
http |
A port, host:port or https://host[:port]. |
serve |
A directory to serve. |
tcp |
A port or host:port, shared with a code. |
routes |
Prefix to port, host:port or directory, see Routing by path. |
shape |
latency, jitter, bandwidth, loss, see Simulating a bad connection. |
keep_host |
Send the public hostname as Host (HTTP only). |
allow / allow_countries |
Only these addresses or countries. |
block_ips / block_countries |
Never these addresses or countries. |
block |
tor, vpn, datacenter, blocklist. |
password / require_login |
Sign-in for visitors (HTTP only). |
Names should be persistent, otherwise they are free for anyone while the service is down.
frislit start # foreground, Ctrl+C stops everything
frislit start --config other.yml
Installing
frislit service install
frislit service uninstall
| System | What it installs |
|---|---|
| Linux | systemd user unit, journalctl --user -u frislit -f for logs. Linger is enabled so it also runs without a login session. |
| macOS | Launch agent, logs in ~/Library/Logs/frislit.log. |
| Windows | Scheduled task that runs at logon. |
The device has to be linked (frislit login) first; the file is created with an example if it is missing.