frp内网穿透

sudo touch /usr/lib/systemd/system/frp.service
sudo vim /usr/lib/systemd/system/frp.service


[Unit]
Description = frp server
After = network.target syslog.target
Wants = network.target

[Service]
Type=simple
ExecStart=/home/cl/frpfrpc -c /home/cl/frp/frpc.toml

[Install]
WantedBy=multi-user.target

sudo systemctl daemon-reload
sudo systemctl enable frp.service
sudo systemctl start frp.service

posted @ 2018-12-28 15:54  LiuChengloong  阅读(139)  评论(0)    收藏  举报