Run this command on a Linux host with curl, tar, sudo, and systemd:
curl -fsSL https://vefr.projectcvsa.com/install.sh | bashTo install a specific release or use a different configuration path:
curl -fsSL https://vefr.projectcvsa.com/install.sh \
| bash -s -- --version v0.1.0 --config /etc/vefr/config.tomlOpen the configuration file:
sudoedit /etc/vefr/config.tomlSet proxy credentials and at least one usable IPv6 source address or CIDR. The
addresses in config.example.toml are documentation addresses; replace them
with addresses routed to this host.
Validate the configuration:
sudo /usr/local/bin/vefr check --config /etc/vefr/config.tomlBefore starting Vefr, verify that the host can send traffic from one of the configured addresses:
curl --interface 2001:db8:1234::10 https://example.com/Replace the example address with a real address. If this check fails, configure the IPv6 route, provider announcement, firewall, and reverse-path filtering first. See docs/linux-anyip.md.
Start the service at boot and start it now:
sudo systemctl enable --now vefrCheck its status and logs:
sudo systemctl status vefr
sudo journalctl -u vefr -fRestart or stop it:
sudo systemctl restart vefr
sudo systemctl stop vefrThe service listens on 127.0.0.1:8080 by default. Test it with:
curl -x http://proxy-user:change-me@127.0.0.1:8080 https://example.com/ -I
curl http://127.0.0.1:8080/healthzRun Vefr directly:
vefr run --config /etc/vefr/config.toml
vefr check --config /etc/vefr/config.toml
vefr version
vefr --helpInstall or update the systemd unit manually:
sudo vefr systemd install --config /etc/vefr/config.tomlThe legacy forms vefr -config PATH and vefr -check -config PATH are still
accepted.
Keep authentication enabled for any listener reachable by other machines. Do
not set block_private = false on a shared or internet-facing host. Treat the
configuration file as a secret because it contains proxy credentials.
Install Go 1.22 or newer, then run:
make check
make build
make raceSee docs/operations.md for operational checks and backup guidance.
