收起左侧

飞牛应用市场的frpc问题,能支持http吗

1
回复
18
查看
[ 复制链接 ]

6

主题

5

回帖

0

牛值

江湖小虾

如图:

服务端配置:

[common]
bind_port = 7000
method = token
token = XehylbD6KSIDgJIdkmCkMfxMC3Pq768X9EDay4ctQPlDRQKMV74Y9F

vhost_http_port = 7500
vhost_https_port = 7443

dashboard_port = 7600
dashboard_user = admin
dashboard_pwd = SD_tec!@#$
enable_prometheus = true

客户端配置:

serverAddr = "121.40.XXX.XXX"
serverPort = 7000
loginFailExit = false

auth.method = "token"
auth.token = "XehylbD6KSIDgJIdkmCkMfxMC3PPzuKy4SV0IelDRQKMV74Y9F"

[[proxies]]
name = "Emby"
type = "https"
localIP = "192.168.31.1"
localPort = 8096
custom_domains = "8096.xxxx.eu.org"

[[proxies]]
name = "Navidrome"
type = "https"
localIP = "192.168.31.105"
localPort = 4533
custom_domains = "4533.xxxx.eu.org"


客户端配置保存之后,frpc会被停用,注意:配置文件中的token部分信息被我隐藏了。

同时控制台中也没有连接信息,用http也是一样。不知道是不是飞牛frpc客户端的问题。

image.png

image.png

我的最终目标是通过4533.xxxx.eu.org访问某个服务,gpt给的方案是用caddy反代,大家帮忙看下能不能用

{
    email admin@xxx.eu.org
    # 强制只用 HTTPS 验证,绕过被占用的 80
    acme_ca https://acme-v02.api.letsencrypt.org/directory
    auto_https disable_redirects
}

# Navidrome 音乐服务 (frp -> 7500)
4533.xxx.eu.org {
    reverse_proxy localhost:7500

    tls {
        alpn http/1.1
    }
}

# Emby 服务 (frp -> 7500)
8096.xxx.eu.org {
    reverse_proxy localhost:7500

    tls {
        alpn http/1.1
    }
}

收藏
送赞
分享

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x

75

主题

296

回帖

425

牛值

共建版主

社区上线纪念勋章社区共建团荣誉勋章

支持http访问的,没问题,我一直用的没出错过,另外 auth.method = "token"删掉,我的是没有的,另外直接type = "http"就行,不要在frp里面配置ssl证书容易出问题,返代一下https就行了。你的tpken好长不知道有没有影响

公众号:知新坊
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则