local_port = 22 # 如果 remote_port 为 0 ,frps 将为您分配一个随机端口 remote_port = 0 # 如果要暴露多个端口, 在区块名称前添加 'range:' 前缀 # frpc 将会生成多个代理,如 'tcp_port_6010', 'tcp_port_6011' [range:tcp_port] type = tcp local_ip = 127.0.0.1 local_port = 6010-6020,6...
bind_port =7000 vhost_http_port =8080 token=12310086 dashboard_port =7500 dashboard_user = admin dashboard_pwd = admin123 subdomain_host= example.com frpc.ini [common] server_addr =103.255.61.100 server_port =7000 token=12310086 [http] type = http local_ip =127.0.0.1 local_port =80 u...
# 可通过{subdomain}.{subdomain_host} 的域名格式来访问自己本地的 web 服务。 # 假如服务端的subdomain_host为dev.msh.com,客户端某个配置组中的 # subdomain为a,local_port为8585, # 则访问 a.dev.msh.com ,等同于访问本地的localhost:8585 subdomain_host = dev.msh.com # 开启toke认证 authenticat...
local_port = 5000 # 群晖内网HTTP端口,默认为5000. custom_domains = nas.ioiox.com # 填写你解析到服务器的域名 [web2_xxxxxx] # 为避免错误,一定需更改为比较特殊的名称,不能和服务器端其他配置重名. type = https # https协议 local_ip = 192.168.1.5 # 填写群晖内网IP. local_port = 5001 # 群...
local_port = 22 remote_port = 6022 参数解释 [common] server_addr = xxx.xxx.xxx.xxx 服务器地址,就是你vps地址 server_port = 7000 服务器端口号,保持和vps 刚才配置的frps.ini一致 token = 123456 服务密码,保持和vps刚才配置的frps.ini一致 ...
local_port = 3389 remote_port = 9550 命令行详解: [common] 总配置 server_addr 提供FRP服务的外网服务器地址 就是你申请的云服务器公网地址 server_port 提供FRP服务的外网服务器端口 就是你刚刚配置的 bind_port token 对应的token,服务端和客户端要一致 ...
local_ip=127.0.0.1local_port=8000#本地服务端口 remote_port=8080# 远程访问端口,x.x.x.x:8080x.x.x.x(vps等公网ip)2#有域名配置[httpname]type=http local_port=80local_ip=127.0.0.1custom_domains=www.demo1.com[httpsname]type=https
vhost_http_port = 8080 1. 2. 3. 4. 启动frps; ./frps -c ./frps.ini 1. 修改frpc.ini 文件,假设 frps 所在的服务器的 IP 为 x.x.x.x,local_port 为本地机器上 web 服务对应的端口, 绑定自定义域名www.yourdomain.com: # frpc.ini ...
vhost_http_port = 80 token = juemruen subdomain_host = 963564449.xyz 再修改 frpc.ini 如下: [common] server_addr =42.194.190.195server_port =7000token = juemruen [web]type= http local_port =80subdomain = j [web1]type= http local_port =8080subdomain = w ...
bind_port = 7000 # udp port used for kcp protocol, it can be same with 'bind_port'. # if not set, kcp is disabled in frps. kcp_bind_port = 7000 # udp port used for quic protocol. # if not set, quic is disabled in frps. ...