Fetch the repository succeeded.
修改/etc/frpc.ini后
ssh root登录,修改/etc/frpc.ini配置文件,再启动frpc无法启动
在启动管理页启动frp后,frp页显示frpc stoped。实际也是没有运行。
配置文件如下
# [common] is integral section
[common]
# A literal address or host name for IPv6 must be enclosed
# in square brackets, as in "[::1]:80", "[ipv6-host]:http" or "[ipv6-host%zone]:80"
server_addr=139.196.***.***
server_port=7000
# if you want to connect frps by http proxy or socks5 proxy, you can set http_proxy here or in global environment variables
# it only works when protocol is tcp
# http_proxy = http://user:passwd@192.168.1.128:8080
# http_proxy = socks5://user:passwd@192.168.1.128:1080
# console or real logFile path like ./frpc.log
log_file=/var/log/frpc.log
# trace, debug, info, warn, error
log_level=info
log_max_days=1
# for authentication
token=*****
# set admin address for control frpc's action by http api such as reload
admin_addr=127.0.0.1
admin_port=7400
admin_user=admin
admin_passwd=admin
# connections will be established in advance, default value is zero
pool_count=5
# if tcp stream multiplexing is used, default is true, it must be same with frps
tcp_mux=true
# your proxy name will be changed to {user}.{proxy}
user=n1
# decide if exit program when first login failed, otherwise continuous relogin to frps
# default is true
login_fail_exit=false
# communication protocol used to connect to server
# now it supports tcp and kcp, default is tcp
protocol=tcp
# specify a dns server, so frpc will use this instead of default one
# dns_server = 8.8.8.8
# proxy names you want to start divided by ','
# default is empty, means all proxies
# start = ssh,dns
# heartbeat configure, it's not recommended to modify the default value
# the default value of heartbeat_interval is 10 and heartbeat_timeout is 90
heartbeat_interval=10
heartbeat_timeout=90
# 'ssh' is the unique proxy name
# if user in [common] section is not empty, it will be changed to {user}.{proxy} such as 'your_name.ssh'
[ssh]
# tcp | udp | http | https | stcp | xtcp, default is tcp
type=tcp
local_ip=127.0.0.1
local_port=22
# true or false, if true, messages between frps and frpc will be encrypted, default is false
use_encryption=false
# if true, message will be compressed
use_compression=true
# remote port listen by frps
#remote_port=6001
[dashboard_http]
# tcp | udp | http | https | stcp | xtcp, default is tcp
type=http
local_ip=127.0.0.1
local_port=80
use_encryption=false
use_compression=true
remote_port=28080
[tr_web_ui]
type=http
local_ip=127.0.0.1
local_port=9091
use_encryption=false
use_compression=true
remote_port=9091