Giter Club home page Giter Club logo

udppp's People

Contributors

b23r0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

udppp's Issues

support minecraft java server / minecraft bedrock server?

I have launched mmproxy with the following parameters: ./go-mmproxy -l 10.228.228.2:25565
the game server is running on 192.168.0.215, 10.228.228.2 is the ip wireguard
10.228.228.1 is on vds
10.228.228.2 on home pc.
how do I configure mmproxy to log in to a server with the proxy-protocol function enabled in nginx?
home pc:
207705132-cc6c10a2-6dd4-4cd9-a461-5a7f60e728ed
207705136-629cb68b-533b-4add-b2de-6cf46e6ffbf1
207705403-14c8e9e9-ea5e-4583-a667-48bc93fe1c26
207704909-e1157baa-16fe-4d2e-8c52-2d17db713eba
207704911-6a4ff728-817d-4b6f-8380-badd81eed3d1
(server minecraft run on 192.168.0.215)
How can I do so that I can log in to the server with the proxy-protocol in nginx option?

Panic: NetworkUnreachable

Hey - it seems like the "MMProxy" part is not working as expected.

I'm getting the below panic.

Using https://github.com/path-network/go-mmproxy it works as expected, so the issue is only in the -m 2 code not -m 1.

I would much prefer using udppp as Go's GC pauses are not desirable for my usecase.

Happy to help investigate and fix this further, but would need some guidance as I'm very unfamiliar with Rust ๐Ÿ™‚

$ sudo $HOME/.cargo/bin/udppp -m 2 -b 0.0.0.0 -l 27016 -h 127.0.0.1 -r 27018 -p
2022-11-22T01:34:14.255Z INFO [udppp::mmproxy] listen mmproxy to 0.0.0.0:27016
2022-11-22T01:34:14.255Z INFO [udppp::mmproxy] listen mmproxy to 0.0.0.0:27016
2022-11-22T01:34:19.058Z INFO [udppp::mmproxy] recv from [92.232.X.X:44130] size : 51
2022-11-22T01:34:19.058Z INFO [udppp::mmproxy] bind new forwarding address [0.0.0.0:40403]
2022-11-22T01:34:19.058Z INFO [udppp::mmproxy] send to upstream [127.0.0.1:27018] real address [192.168.Y.Y:27005] size : 23
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 101, kind: NetworkUnreachable, message: "Network is unreachable" }', /home/mark/.cargo/registry/src/github.com-1ecc6299db9ec823/udppp-0.4.0/src/mmproxy.rs:101:84
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Any { .. }', /home/mark/.cargo/registry/src/github.com-1ecc6299db9ec823/udppp-0.4.0/src/main.rs:126:43

Related proxy command for mode 1 udppp -m 1 -b 0.0.0.0 -l 27016 -h 77.68.X.X -r 27016 -p

Server and client can simply be nc -ul 127.0.0.1 27018 and nc -u proxy-host 27016 respectively

Note that it seems to work when -m 1 is also running on the same host as -m 2 and the server - but of course this is not practical.

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.