1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| [common]
bind_addr = 0.0.0.0 bind_port = 70000
token = pl00000000000
dashboard_port = 700000
dashboard_user = pl0000000000000000000000 dashboard_pwd = p000000000000000000000000000 enable_prometheus = true
log_file = /var/log/frps.log log_level = info log_max_days = 30
|
1 2 3 4 5 6
| mkdir -p /etc/frp cp frps.ini /etc/frp cp frps /usr/bin cp systemd/frps.service /usr/lib/systemd/system/ systemctl enable frps systemctl start frps
|
1 2 3 4 5 6 7 8 9 10 11
| [common] server_addr = 106.xx.xx.x server_port = 70xx token = plxxxxxxxxxxxxxxxxx
[ssh] type = tcp local_ip = 127.0.0.1 local_port = 22 remote_port = 6000
|
1
| ssh -oPort=22 test@x.x.x.x
|
💌lixiang117423@foxmail.com
💌lixiang117423@gmail.com