Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mkworld for building private root #87

Merged
merged 7 commits into from
Aug 16, 2023
Merged

mkworld for building private root #87

merged 7 commits into from
Aug 16, 2023

Conversation

sinamics
Copy link
Owner

@sinamics sinamics commented Aug 14, 2023

  • Add mkworld go source
  • Build multiarch binaries
  • Add frontend interaction to build planet file with user defined config ( endpoint and domain )
  • Add backup logic to easily revert the original files.
  • Add option to download new planet file
  • Add option to restore from previous backups
  • Translations

Im on thin ice here, as im not familiar with custom roots, but it seems like the mkworld generating new planet file based on the given configuration and then its just a matter of copy this file to zerotier-one dir with right permissions.
It will also create couple of signed files which i belive is the private keys that needs to be kept privatly.

resolves #76

@sinamics
Copy link
Owner Author

I believe I'm making good progress. The system now generates a new 'planet' based on the provided configuration while also creating backups of the previous configurations. I'm considering adding a feature to allow users to download or restore previous configurations.

For distribution, users have the option to either download the new 'planet' file or share it via email. Additionally, for added convenience, the external IP is automatically prepopulated.
image

@sinamics
Copy link
Owner Author

sinamics commented Aug 15, 2023

seems to be working fine.
When custom planet has been created and zerotier container has been restarted, the zt root servers are not listed anymore.
Also, when adding the custom planet to one of my peer im able to connect.

However, its probably a good pratice to block zerotier roots in iptables to be absolute sure its a private world.

image

@sinamics sinamics merged commit bb2fa83 into main Aug 16, 2023
@sinamics sinamics deleted the planet_server branch August 16, 2023 17:34
@v808comd
Copy link

v808comd commented Aug 20, 2023

ff20230821000048

How can these three input boxes be updated after inputting characters? I tried clicking elsewhere with the mouse and couldn't update it. If I click Enter, it will be submitted directly.

@sinamics
Copy link
Owner Author

@v808comd
There will be an improved version in next release. Most likely tonight.
image

@sinamics
Copy link
Owner Author

I will also change the ::9993 => ::/9993

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request]: Building planet server
2 participants