sudomesh / makenode

Configures new sudo mesh nodes
8 stars 8 forks source link

Add flag to support request of static IP only #15

Open redconfetti opened 8 years ago

redconfetti commented 8 years ago

Needed for anyone that wants to get a static IP assignment for anything other than a home node.

See Externally hosted services

ghost commented 6 years ago

I know this is an old request, but i noticed that on page: https://sudoroom.org/wiki/Mesh/Makenode it talks about curling: http://secrets.peoplesopen.net with a post request to get a new static mesh ip.

What is the best way to get a new mesh ip assignment? I'm connected to tunnel digger but not able to assign the correct ip address to fully access the mesh.

bennlich commented 6 years ago

Hey @Jnull. Home nodes curl the meshnode db hosted at secrets.peoplesopen.net to get permanently assigned a /26 subnet from the 100.64.0.1/10 block.

Based on our discussions in rocket chat, I believe you are trying to tunnel into the mesh from your computer, ya? In that case, I would just temporarily use a mesh IP towards the end of the 100.64.0.1/10 block, like @paidforby mentioned recently in https://github.com/sudomesh/sudowrt-firmware/issues/153.

Exitnodes do not talk to the meshnode database, so you don't need to worry about getting an IP from there.

ghost commented 6 years ago

if i used /10 it gave me unreachable on the ip route table: https://pastebin.com/ueef1SSk if i use /26 it didn't: https://pastebin.com/9N6VzMsn
but i still get "no route to host" if i try to ping my own node.

bennlich commented 6 years ago

@Jnull I made a new issue for this, as the one we're currently in is a little off-topic :)

see: https://github.com/sudomesh/exitnode/issues/18