Giter VIP home page Giter VIP logo

Comments (8)

neophack avatar neophack commented on June 7, 2024

https://github.com/zfunnily/hole-punching-go-libp2p

from awl.

pymq avatar pymq commented on June 7, 2024

I'm sorry, I still don't have a good tutorial how to setup all this.

Basically, if you want to test on desktop, you need to download awl-tray binary, run it as root (or administrator), open web interface (by clicking on the system tray icon --> Open Web UI. Or just go to http://localhost.awl:8639/). Do this on both your devices. Then you need to add new peer (see button in the interface), peer ID you can get by clicking "Show ID". Later you need to accept invitation on the second peer's admin UI and after all this you can interconnect between your devices. IP and domain address you can see in the interface. Awl works on IP level, so you can ping your devices or access its TCP/UDP ports.
For testing purposes you can also connect to awl-tester with peer ID 12D3KooWJMUjt9b5T1umzgzjLv5yG2ViuuF4qjmN65tsRXZGS1p8. It will auto-accept your invitation. It has available port 80 and 8989

Feel free to ask here if you have any questions.

from awl.

neophack avatar neophack commented on June 7, 2024

Direct connect is peer to peer and disconnect server, through public relay is too slow.
you can try this repo https://github.com/openp2p-cn/openp2p, it has high probability to use direct connect.
Screenshot from 2022-11-03 09-04-18

from awl.

pymq avatar pymq commented on June 7, 2024

Awl tries to create direct connections the same way as openp2p. In current release we use rather old libraries, after #52 it should be much better, stay tuned

from awl.

pymq avatar pymq commented on June 7, 2024

@neophack fyi it should be much better with latest release

from awl.

neophack avatar neophack commented on June 7, 2024

Test some networks, quic can work normally, but some networks are still not as good as openp2p

from awl.

neophack avatar neophack commented on June 7, 2024

I am quite satisfied now

from awl.

pymq avatar pymq commented on June 7, 2024

Thanks for testing!

@neophack could you please provide more information about networks in which awl can't do direct connections? I thought it should be the same

from awl.

Related Issues (20)

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.