rpt
rpt copied to clipboard
端口由于某种原因没有突破
我的配置: Client.yml: serverIp: f2.russianodes.com serverPort: 26048(第一个端口)
TCP时domain可不填写 HTTP时remotePort可不填写
config:
- proxyType: TCP localIp: 192.168.0.154 localPort: 25565 remotePort: 25608(第二港口) description: minecraft server.
Server.yml: #服务端绑定IP serverIp: 0.0.0.0 #服务端与客户端通讯端口 serverPort: 26048(第一个端口)
在程序中:Lighttunnel 类似的配置工作.
Client logs:https://pastebin.com/ibQm8QTT Server logs:https://pastebin.com/BQYftFHb Server Java 18 Clinet java 8/17
服务端没有配置token吧 我看你服务端的日志 都是授权连接失败
@dollonov
server.yml
serverIp: 0.0.0.0
serverPort: 26048
token:
- clientKey: 123456
minPort: 1
maxPort: 65535
client.yml
serverIp: f2.russianodes.com
serverPort: 26048 # 客户端和服务端通讯端口
clientKey: 123456
config:
- proxyType: TCP
localIp: 192.168.0.154
localPort: 25565
remotePort: 25565 # 这个端口是将本地192.168.0.154:25565服务暴露在服务端的端口,可以取1-65535任意都行
description: minecraft server
由于某种原因,你的选择没有帮助 是我干的:https://www.youtube.com/watch?v=oy5X9ze1Pm4
f2.russianodes.com:25565
@dollonov
I made the logic of restricting the port to Chinese IP @dollonov you can use the lastest server.jar https://github.com/iamlinhui/rpt/releases/download/2.5.0/rpt-server-2.5.0.jar
@dollonov you need modify client.yml
client.yml
serverIp: f2.russianodes.com
serverPort: 26048
clientKey: 123456
config:
- proxyType: TCP
localIp: 192.168.0.154
localPort: 25565
remotePort: 25608
description: minecraft server
after you conncet f2.russianodes.com:25608
@dollonov вам нужно изменить client.yml
client.yml
serverIp: f2.russianodes.com serverPort: 26048 clientKey: 123456 config: - proxyType: TCP localIp: 192.168.0.154 localPort: 25565 remotePort: 25608 description: minecraft server
после того, как вы соединитесь
f2.russianodes.com:25608
it worked when you changed something in the program
pay attention to setting complex password (clientKey
), 123456 is not the best choice
pay attention to setting complex password (
clientKey
), 123456 is not the best choice
however, the program is not stable. when I blow up a lot of tnt, there is a disconnection from the server
in Lighttunnel there was only a problem in buffer overflow ram, for some reason, it was not cleaned extra clogged.
i'll reproduce this scene later
everything works fine on the local connection - it turns out the program is not stable
c Lighttunnel Server the connection worked stably but the memory was clogged: Lighttunnel Server.
I have tested this usage scene, but it has always been normal, no disconnection, um ...
I have tested this usage scene, but it has always been normal, no disconnection, um ...
keepalive how much is the default in your program? what version of the server was launched? client version?
can you log in to my server to check? my ip f2.russianodes.com:25608. write the time when you can log in to check, at this time I will start the server.
I have tested this usage scene, but it has always been normal, no disconnection, um ...
keepalive how much is the default in your program? what version of the server was launched? client version?
keepalive 20/30s in 1 min minecraft client/server version -> 1.19
I have tested this usage scene, but it has always been normal, no disconnection, um ...
keepalive how much is the default in your program? what version of the server was launched? client version?
keepalive 20/30s in 1 min minecraft client/server version -> 1.19
my server: kernel airplane(kernel server) version 1.17.1 client fabric 1.17.1. keepalive may need to somehow increase its value, that's the point (well, it's not accurate) https://www.spigotmc.org/threads/keep-alive-packets-timing-out-players-after-25-seconds.293721/
logged into the server via velocity(minecraft proxy server) it stopped flying out, but the friezes from the explosions still remained as well as the high ping. unfortunately, here your program is not optimized already compared to Lighttunnel. Problem:Lighttunnel that he doesn't clean his memory thus, it reaches the point of not having enough memory, thereby the server ceases to be available. https://ibb.co/RTMsT7x https://ibb.co/BnRvWvd https://ibb.co/yyChpSg https://ibb.co/bd8xVpt https://ibb.co/xj8q5zq https://ibb.co/myvf6QR