副本集mongo想要设置frp穿透
设置好之后,内网可以使用域名,外网连接不上
frpc.ini
[common]
tls_enable = true
server_addr = . . .
server_port = 7000
[mongo]
type = tcp
local_ip = 172.0.0.1
local_port = 27017
remote_port = 6666
内网可以连上,外网找不到服务
关闭防火墙,也没有改变
外网可以连接到副本集mongo
已经解决了,用穿透的时候,只连接一个副本集的节点就可以了