Code Monkey home page Code Monkey logo

Comments (3)

Chion82 avatar Chion82 commented on June 18, 2024

请提供一下服务端和客户端的log,另外服务器如果网卡地址不是直接分配到公网ip的话(用ifconfig看),服务端参数需要改成网卡上的那个ip

from kcptun-raw.

ekenchan avatar ekenchan commented on June 18, 2024

部分日志如下:
[2017-03-14 20:27:53] [trans_packet]Client sending SYN.
[2017-03-14 20:27:54] Request kcp init
[2017-03-14 20:27:56] Request kcp init
[2017-03-14 20:27:58] Request kcp init
[2017-03-14 20:27:59] Re-init fake TCP connection.
[2017-03-14 20:27:59] Trying port 36394
[2017-03-14 20:27:59] [trans_packet]Client sending SYN.
[2017-03-14 20:28:00] Request kcp init
[2017-03-14 20:28:02] Request kcp init
[2017-03-14 20:28:04] Request kcp init
[2017-03-14 20:28:05] Re-init fake TCP connection.
[2017-03-14 20:28:05] Trying port 39408
[2017-03-14 20:28:05] [trans_packet]Client sending SYN.
[2017-03-14 20:28:06] Request kcp init
[2017-03-14 20:28:08] Request kcp init
[2017-03-14 20:28:10] Request kcp init
[2017-03-14 20:28:11] Re-init fake TCP connection.
[2017-03-14 20:28:11] Trying port 36469
[2017-03-14 20:28:11] [trans_packet]Client sending SYN.
[2017-03-14 20:28:12] Request kcp init
[2017-03-14 20:28:14] Request kcp init
[2017-03-14 20:28:16] Request kcp init
[2017-03-14 20:28:17] Re-init fake TCP connection.
[2017-03-14 20:28:17] Trying port 35969
[2017-03-14 20:28:17] [trans_packet]Client sending SYN.
[2017-03-14 20:28:18] Request kcp init
[2017-03-14 20:28:20] Request kcp init
[2017-03-14 20:28:21] Re-init fake TCP connection.
[2017-03-14 20:28:21] Trying port 30026
[2017-03-14 20:28:21] [trans_packet]Client sending SYN.
[2017-03-14 20:28:22] Request kcp init
[2017-03-14 20:28:24] Request kcp init
[2017-03-14 20:28:26] Request kcp init
[2017-03-14 20:28:27] Re-init fake TCP connection.
[2017-03-14 20:28:27] Trying port 34152
[2017-03-14 20:28:27] [trans_packet]Client sending SYN.
[2017-03-14 20:28:28] Request kcp init
[2017-03-14 20:28:30] Request kcp init
[2017-03-14 20:28:32] Request kcp init

==========================================
无论有没开启noseq开关都一样。服务器也有公网ip,入站数据没有防火墙阻挡,只设了一条规则:
iptables -I INPUT -p tcp --dport -j DROP

客户端上级的路由器防火墙有没有需要打开的限制?

from kcptun-raw.

ekenchan avatar ekenchan commented on June 18, 2024

可以了,我把client的本地监听地址不用127.0.0.1就可以了,谢谢

from kcptun-raw.

Related Issues (17)

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.