Code Monkey home page Code Monkey logo

Comments (21)

kuoruan avatar kuoruan commented on September 26, 2024

windows 上 telnet 路由器ip kcptun 端口 通不通?

from luci-app-kcptun.

3xpert avatar 3xpert commented on September 26, 2024

上述的1,在telnet后没返回任何结果。2,返回连接失败
路由器刷完openwrt不就不能telnet了吗?

from luci-app-kcptun.

kuoruan avatar kuoruan commented on September 26, 2024

把路由器的防火墙关了,或者手动放行 kcptun 端口

from luci-app-kcptun.

3xpert avatar 3xpert commented on September 26, 2024

好的,谢谢!

from luci-app-kcptun.

3xpert avatar 3xpert commented on September 26, 2024

关了防火墙,2还是不行

from luci-app-kcptun.

kuoruan avatar kuoruan commented on September 26, 2024

开日志,看看有日志输出没有

from luci-app-kcptun.

3xpert avatar 3xpert commented on September 26, 2024

有输出kcptun启动时读取参数那部份,运行过程的日志好像都没见到过。1、2都一样。

from luci-app-kcptun.

kuoruan avatar kuoruan commented on September 26, 2024

路由器上用 netstat 能看到 kcptun 端口吗?

from luci-app-kcptun.

3xpert avatar 3xpert commented on September 26, 2024

这要晚上回家再测试。

from luci-app-kcptun.

3xpert avatar 3xpert commented on September 26, 2024

netstat后1有看到kcptun的端口,2没有

from luci-app-kcptun.

kuoruan avatar kuoruan commented on September 26, 2024

那就是 kcptun 没启动起来, ps -w 看看有没有 kcptun 进程

from luci-app-kcptun.

3xpert avatar 3xpert commented on September 26, 2024

当然有

from luci-app-kcptun.

kuoruan avatar kuoruan commented on September 26, 2024

有进程没端口?这怎么可能

from luci-app-kcptun.

3xpert avatar 3xpert commented on September 26, 2024

PID PPID USER STAT VSZ %VSZ %CPU COMMAND
11222 1 root S 3400 3% 9% ss-local -c /var/etc/shadowsocks.json
11288 1 root R 1660 1% 1% /usr/sbin/hostapd -P /var/run/wifi-ph
12405 11446 root R 1364 1% 0% top
3 2 root SW 0 0% 0% [ksoftirqd/0]
11655 1 root R 773m 629% 0% /usr/bin/kcptun/client -c /var/etc/kc
11445 956 root S 1244 1% 0% /usr/sbin/dropbear -F -P /var/run/dro
11000 1 root S 3588 3% 0

from luci-app-kcptun.

3xpert avatar 3xpert commented on September 26, 2024

root@OpenWrt:~# ps -w | grep kcptun
11655 root 773m S /usr/bin/kcptun/client -c /var/etc/kcptun/client.json

from luci-app-kcptun.

kuoruan avatar kuoruan commented on September 26, 2024

看看 /var/etc/kcptun/client.json 这个文件里边配置的端口是哪个,然后 netstat -npl | grep 端口

from luci-app-kcptun.

3xpert avatar 3xpert commented on September 26, 2024

root@OpenWrt:~# netstat -npl | grep 8388
tcp 0 0 127.0.0.1:8388 0.0.0.0:* LISTEN 11655/client

from luci-app-kcptun.

kuoruan avatar kuoruan commented on September 26, 2024

这不是有端口吗,将 client 的本地监听地址改为 0.0.0.0 试试

from luci-app-kcptun.

3xpert avatar 3xpert commented on September 26, 2024

但是netstat列印出来的结果的确没有这个端口呢

from luci-app-kcptun.

3xpert avatar 3xpert commented on September 26, 2024

本地地址改成0.0.0.0,可以了。这是什么原因呢?

from luci-app-kcptun.

kuoruan avatar kuoruan commented on September 26, 2024

监听 127.0.0.1 会只允许本机连接

from luci-app-kcptun.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.