Comments (3)
请提供一下服务端和客户端的log,另外服务器如果网卡地址不是直接分配到公网ip的话(用ifconfig看),服务端参数需要改成网卡上的那个ip
from kcptun-raw.
部分日志如下:
[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.
可以了,我把client的本地监听地址不用127.0.0.1就可以了,谢谢
from kcptun-raw.
Related Issues (17)
- Errors at compilation HOT 5
- 在openwrt上无法工作? HOT 9
- 我从腾讯云无法到我的Ramnode HOT 4
- 能不能在connection_info中加入客户端ip区分不同的客户端? HOT 1
- 内核态filter支持 HOT 40
- cpu占用真的没办法减少吗?有点吃力啊感觉。 HOT 9
- SYN flag HOT 22
- 在Windows上使用的可能性 HOT 8
- 请问,iptables的设定是必须的吗?
- 求在Windows流量通过Linux虚拟机连接kcptun-raw的思路
- CPU占用问题(CPU usage issue) HOT 6
- Remote notifies re-init KCP connection on AWS EC2(amazon vps) HOT 28
- 似乎端口被封了 HOT 10
- 连接初始化问题 HOT 7
- 与ss不兼容? HOT 1
- 这个项目是 Kcptun 的 C 语言实现吗? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kcptun-raw.