内网映射 frp

参考链接: https://blog.csdn.net/a772304419/article/details/133277368  自启动

参考链接: https://blog.csdn.net/qq_32953185/article/details/108460302  参数配置

参考链接: https://github.com/fatedier/frp  官网

参考链接: https://gofrp.org/zh-cn/docs/setup/  官方文档

 

正文

环境:使用的是windows内网,ubuntu外网

官网下载文件包,frpc 作为客户端,frps 作为服务器端。

客户端配置 frpc.ini 文件

#端口

 

服务器端配置 frps.ini 文件

其中,所有端口均需要在安全组开放

[common]
# 端口
bind_port = 7000
# 验证方法
authentication_method = token
# 密码
token = abc
# 这个端口就是服务器开放到外网的,业务端口
vhost_http_port = 8080

# 这个查看面板用的dashboard user and passwd for basic auth protect
# 面板端口
dashboard_port = 7500
dashboard_user = admin
dashboard_pwd = admin

 

posted @ 2024-03-12 16:40  动灵  阅读(10)  评论(0编辑  收藏  举报