V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
gearfox
V2EX  ›  宽带症候群

旁路由的情况下, frpc 的 stcp 无法启动问题

  •  
  •   gearfox · 27 天前 · 103 次点击
    家里主路由是爱快硬件 wifi ,单网口旁路由是 openwrt 的 istoreos 安装着 passwall1 、mosdns 和 lucky 。
    并且旁路由器的防火墙是 lan-->ACCEPT 入站接受 出站接受 转发接受 IP 动态伪装

    排查了 2 小时,一直以为是阿里云上的 frps 的问题,发现 firewalld 和配置文件没有任何问题。
    最后将局域网电脑网关设置成爱快主路由,frpc 可以正常启动。切回旁路由,又无法连接了。
    在使用旁路由的情况下,tcping 阿里云主机+frps 端口正常,tracert 阿里云主机也正常。

    winsw 日志为“login to the server failed: session shutdown. With loginFailExit enabled, no additional retries will be attempted”

    frpc 日志为
    “[W] [client/service.go:297] [ecf520b82a782e7e] connect to server error: tls: first record does not look like a TLS handshake”
    “[I] [client/service.go:294] [ecf520b82a782e7e] try to connect to server...”
    “[W] [client/service.go:297] connect to server error: session shutdown”
    “[I] [sub/root.go:160] frpc service for config file [frpc.toml] stopped”

    请问各位高手,这样的问题如何排查呢?
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2754 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 13:44 · PVG 21:44 · LAX 06:44 · JFK 09:44
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.