自行打包的 frp,包括 frps
和 frpc
,适用于 Debian 或基于 Debian 的发行版。
Self-packaged frp, include frps
和 frpc
, suitable for Debian and Debian-based distros.
直接从 Releases 下载 .deb 文件。
echo "Types: deb
URIs: https://github.com/wcbing-build/frp-debs/releases/latest/download/
Suites: ./
Trusted: yes" | sudo tee /etc/apt/sources.list.d/frp.sources
sudo apt update
# install frps
sudo apt install frps
# install frpc
sudo apt install frpc
配置文件在升级或安装时会被覆盖,请注意备份。
尤其是 frpc
frps 有 Systemd 服务,安装后默认启动并设置开机自启。
其配置文件在 /etc/frp/frps.toml
,修改文件后请重启 Systemd 服务。
为保证安全并未设置 Systemd 服务,有需要请自行编写。
默认配置文件在 /etc/frp/frpc.toml
。
更多内容请查看官网。