Quick installer and fwknopd management
The fastest way to install PortGuard Server is the official installer. It installs packages built by GitHub Actions from the public source repository, so the build pipeline and source code are both open for review.
1. Install
curl -fsSL https://portguard.net/install.sh | sudo bash
The generated SPA_SERVER uses the server's public IPv4 address when one can
be detected. If public detection is unavailable, the installer falls back to
the local IPv4 address. The hostname remains the default profile section name.
Use --server only when you need to override the detected address with a DNS
name or another IP address.
Customize the generated client profile during installation:
curl -fsSL https://portguard.net/install.sh | sudo bash -s -- \
--server vpn.example.com \
--access tcp/22,tcp/80 \
--knock-port 62201 \
--user portguard \
--timeout 60