Closed dillfrescott closed 1 year ago
Also, is there a way for a node in a network to have the same ip for everyone?
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
Okay! Thank you!
@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.
@dillfrescott what usecases do you have? I'm asking because I think awl DNS should work just fine for most of them
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.
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
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".
I think that could work! Sounds good!
@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
Oh! Okay!
@pymq the peer id .awl thing isnt working at all :/
It says no such address known
@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
@pymq Sure! I am on Windows 11 and I'm just using the latest windows tray binary from releases.
@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
Ok i sent the request
It should accept instantly
I directly copy-pasted it too
@dillfrescott try now
Hmmm its working. I wonder why it didnt work for me before.
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?
@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...
@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
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!
I think my questions have been sufficiently answered so I will close this issue. :)
This project is awesome! Is there a way to enable a peer to auto accept requests?