frp内网穿透搭建

随笔2天前发布 卡门
8 0 0

一、前提条件 

  需要一台配有公网IP的服务器

二、服务器配置

#frps.ini
[common]
#启用监控的接口
bind_port = 16287

# 如果需要认证,则添加以下配置
authentication_method = token
token = xxxxxxxxx

三、客户端配置

#frpc.ini
[common]
# FRP服务端的公网IP
server_addr = x.x.x.x
# FRP服务端设置的监听端口
server_port = 16287
 
authentication_method = token
# 与服务端配置的token相同
token = xxxxxxxxx

[ssh]
type = tcp
local_ip = 127.0.0.1
# 需要进行内网穿透的本地服务的端口,例如SSH
local_port = 80
# 通过FRP服务端暴露的端口
remote_port = 16286

 

frp内网穿透搭建

© 版权声明

相关文章

暂无评论

您必须登录才能参与评论!
立即登录
暂无评论...