frp centos + mas os内网穿透
服务端 frp 配置
[common]
bind_port = 7000
vhost_http_port = 89
[ssh]
listen_port = 6000
auth_token = xxx
[web]
type = http
custom_domains = frp.xx.com
auth_token = xxx
启动 nohup ./frps -c ./frps.ini firrun.log 2>&1 &
客户端
[common]
server_addr = 111.111.111.11
server_port = 7000
auth_token = xxx
[ssh]
local_port = 22
remote_port = 6000
auth_token = xxx
[web]
type = http
local_port = 80
custom_domains = frp.xx.com
运行 ./frpc -c ./frpc.ini 访问 frp.xx.com:89即可访问本地80端口
发表回复