KennethCheng
Published on 2019-05-11 / 9 Visits
0
0

Centos部署frp

下载frp

下载链接

做成服务

vi /lib/systemd/system/frpc.service

配置内容

[Unit]

Description=frapsservice

After=network.targetsyslog.target

Wants=network.target

[Service]

Type=simple

ExecStart=/root/frp/frps-c /root/frp/frps.ini

[Install]

WantedBy=multi-user.target

开机启动

systemctl startfrps #启动
systemctl enablefrps #开机开启

Comment