mylara

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

  •  
  •   mylara · Jun 4, 2024 · 802 views
    This topic created in 720 days ago, the information mentioned may be changed or developed.
    家里主路由是爱快硬件 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”

    请问各位高手,这样的问题如何排查呢?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3285 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 11:45 · PVG 19:45 · LAX 04:45 · JFK 07:45
    ♥ Do have faith in what you're doing.