更新 内网穿透软件frp部署
parent
66968ebee7
commit
fbc4272326
@ -40,6 +40,7 @@ webServer.password = "frps@dash"
|
||||
|
||||
- 创建服务文件:`vi /etc/systemd/system/frps.service`
|
||||
```
|
||||
[Unit]
|
||||
Description=Fast Reverse Proxy Server (frps)
|
||||
After=network.target
|
||||
|
||||
@ -48,7 +49,6 @@ Type=simple
|
||||
User=root
|
||||
Group=root
|
||||
ExecStart=/opt/frp/frps -c /opt/frp/frps.toml
|
||||
WorkingDirectory=/opt/frp/
|
||||
Restart=on-failure
|
||||
RestartSec=5s
|
||||
|
||||
@ -111,6 +111,7 @@ remotePort = 143
|
||||
|
||||
- 创建服务文件:`vi /etc/systemd/system/frpc.service`
|
||||
```
|
||||
[Unit]
|
||||
Description=Fast Reverse Proxy Client (frpc)
|
||||
After=network.target
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user