rust-net / remote-bind Goto Github PK
View Code? Open in Web Editor NEW内网穿透,支持服务器中继和基于quic的P2P直连两种模式
内网穿透,支持服务器中继和基于quic的P2P直连两种模式
你好,想问一下,像影射到本地端口到远程服务器上,这段路是否没有加密,我不太懂rust代码,看了下似乎是纯粹代理,想向作者确认下
如题
你好,我看到relase中的版本都是musl版本,但是常用的Linux版本都是glibc,可否出一个gnu-glibc的版本。
客户端分别是手机还有电脑,想使用手机远程rdp连接电脑,按照教程搭建好之后将端口设置在51414上,然后手机使用apk将本地端口设置在127.0.0.1:5555 来连接,发现如法连接,想问下这怎么处理,是穿透没成功吗?
电脑客户端日志
PS C:\Users\RUO> C:\Users\admin\Downloads\client.exe xxx.xxx.xxx.xxx:7000 51414 passwd 127.0.0.1:3389
2023-10-04 22:30:38 - [I] - client\src\main.rs:97 -> 正在连接服务器:xxx.xxx.xxx.xxx:7000
2023-10-04 22:30:38 - [I] - core\src\client.rs:18 -> 正在连接
2023-10-04 22:30:38 - [I] - core\src\client.rs:20 -> 连接完成
2023-10-04 22:30:38 - [I] - client\src\main.rs:104 -> 正在绑定端口:51414
2023-10-04 22:30:39 - [I] - client\src\main.rs:108 -> 服务已绑定: 127.0.0.1:3389 -> xxx.xxx.xxx.xxx:51414
服务端日志
root@share:~# ./server-linux-amd64 7000 passwd
2023-10-04 14:30:22 - [I] - server/src/main.rs:76 -> Server started on xxx.xxx.xxx.xxx:7000
2023-10-04 14:30:22 - [I] - core/src/server.rs:71 -> STUN started on 0.0.0.0:7001
2023-10-04 14:30:22 - [I] - core/src/server.rs:71 -> STUN started on 0.0.0.0:7000
2023-10-04 14:30:26 - [I] - core/src/server.rs:118 -> PORT(7000) -> Agent connected: 112.96.66.13:52900
2023-10-04 14:30:26 - [I] - core/src/server.rs:122 -> AGENT(112.96.66.13:52900) -> Reading command...
2023-10-04 14:30:26 - [I] - core/src/server.rs:37 -> PORT(51414) -> Bind succeed!
2023-10-04 14:30:31 - [E] - core/src/server.rs:154 -> PORT(51414) -> Agent 112.96.66.13:52900 no response, release the port!
2023-10-04 14:30:38 - [I] - core/src/server.rs:118 -> PORT(7000) -> Agent connected: 120.85.126.143:11056
2023-10-04 14:30:38 - [I] - core/src/server.rs:122 -> AGENT(120.85.126.143:11056) -> Reading command...
2023-10-04 14:30:38 - [I] - core/src/server.rs:37 -> PORT(51414) -> Bind succeed!
KEEPALIVE:检测到后端服务器 59.172.37.6:64943 掉线
释放端口 38001
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" }', src/main.rs:74:47
Do you have a blog?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.