Giter VIP home page Giter VIP logo

Comments (25)

dillfrescott avatar dillfrescott commented on June 1, 2024 2

Hmmm its working. I wonder why it didnt work for me before.

from awl.

pymq avatar pymq commented on June 1, 2024 1

Hi, thanks!

Is there a way to enable a peer to auto accept requests?

This is not documented yet, but you can manually set autoAcceptAuthRequests param to true in your config file (see README where config file is located or in logs, it is printed on server start). You need to stop server before editing config.

Note that this is not secure: anyone will be able to auto connect to your peer. This feature was intended to use in "public servers". You can enable this flag, add peers and then disable it

Also, is there a way for a node in a network to have the same ip for everyone?

Unfortunately, no. I have plans on feature like "group of peers with shared access to each other", but it's not there yet.

For now, you can manually edit config file, you need to search for knownPeers group and edit ipAddr for each peer.

Hope that helps, any feedback is welcome

from awl.

pymq avatar pymq commented on June 1, 2024 1

@dillfrescott Sorry, wrong peer id. Try this one: 12D3KooWJMUjt9b5T1umzgzjLv5yG2ViuuF4qjmN65tsRXZGS1p8

But anyway it's probably bug in awl dns, I didn't test on windows 11, only on 10

from awl.

dillfrescott avatar dillfrescott commented on June 1, 2024 1

image

I directly copy-pasted it too

from awl.

dillfrescott avatar dillfrescott commented on June 1, 2024 1

Does it reproduce on every restart of awl server?

Yes! It seems to at least.

Could you please open new issue with bug report and brief description of this bug?

Sure!

from awl.

dillfrescott avatar dillfrescott commented on June 1, 2024

Also, is there a way for a node in a network to have the same ip for everyone?

from awl.

dillfrescott avatar dillfrescott commented on June 1, 2024

Okay! Thank you!

from awl.

dillfrescott avatar dillfrescott commented on June 1, 2024

@pymq is there any way you could implement a rough form of a static ip function? I would love to use this app but it makes it nearly impossible without static ip's for my usecases.

from awl.

pymq avatar pymq commented on June 1, 2024

@dillfrescott what usecases do you have? I'm asking because I think awl DNS should work just fine for most of them

from awl.

dillfrescott avatar dillfrescott commented on June 1, 2024

The dns name depends on what the peer names the connection though, right?

Basically I'm trying to point cloudflare DNS to an in network ip, so only the people that have the server as a peer can access the web server essentially.

from awl.

pymq avatar pymq commented on June 1, 2024

The dns name depends on what the peer names the connection though, right?

Yes, by default dns name equals to peer name, but dns name could be changed independently of peer name

Screenshot from web gui

image

Basically I'm trying to point cloudflare DNS to an in network ip, so only the people that have the server as a peer can access the web server essentially.

Interesting, this is necessary to have more human readable address and to easily send links to it to someone?

Do your peer with web server has peer name set? I can propose feature more easily to implement: all peers broadcast their name (as opposite to alias, that you can change) and their names will be set as dns addresses.

Example: peer A has name "something". You added it with an alias "tester". And you can access it with "something.awl" AND "tester.awl". Currently you can access it only with "tester.awl".

from awl.

dillfrescott avatar dillfrescott commented on June 1, 2024

I think that could work! Sounds good!

from awl.

pymq avatar pymq commented on June 1, 2024

@dillfrescott I totally forgot, you can address peers like {peer_id}.awl - this way you don't need to set anything special in your config in every peer, and you can set this name in dns redirect or something

from awl.

dillfrescott avatar dillfrescott commented on June 1, 2024

Oh! Okay!

from awl.

dillfrescott avatar dillfrescott commented on June 1, 2024

@pymq the peer id .awl thing isnt working at all :/

from awl.

dillfrescott avatar dillfrescott commented on June 1, 2024

It says no such address known

from awl.

pymq avatar pymq commented on June 1, 2024

@dillfrescott That's interesting. Could you please provide more details about your system: what OS, version?

Also, could you try with my peer, invite 12d3koowjmujt9b5t1umzgzjlv5yg2viuuf4qjmn65tsrxzgs1p8 and go to http://12d3koowjmujt9b5t1umzgzjlv5yg2viuuf4qjmn65tsrxzgs1p8.awl/ , it should open page with librespeed

from awl.

dillfrescott avatar dillfrescott commented on June 1, 2024

@pymq Sure! I am on Windows 11 and I'm just using the latest windows tray binary from releases.

Screenshot 2023-05-14 143302

from awl.

dillfrescott avatar dillfrescott commented on June 1, 2024

Ok i sent the request

from awl.

pymq avatar pymq commented on June 1, 2024

It should accept instantly

from awl.

pymq avatar pymq commented on June 1, 2024

@dillfrescott try now

from awl.

pymq avatar pymq commented on June 1, 2024

So you managed to connect to your peer with web server by address like {peer_id}.awl and you have now no issues or open questions?

from awl.

dillfrescott avatar dillfrescott commented on June 1, 2024

@pymq I found the issue. I have to type the address in my browser before anything on my computer will connect to it. This is an issue because i cannot use the ping command or connect through my game client to the peer id .awl until i physically type it into my browser it seems...

from awl.

pymq avatar pymq commented on June 1, 2024

@dillfrescott That's interesting! Does it reproduce on every restart of awl server? Could you please open new issue with bug report and brief description of this bug? I will take a look this week when I find time to setup VM with windows 11

from awl.

dillfrescott avatar dillfrescott commented on June 1, 2024

I think my questions have been sufficiently answered so I will close this issue. :)

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.