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

Optional public ip config to add vito server to the firewall for created servers #415

Conversation

tobischulz
Copy link
Contributor

This will add a optional variable in the core config file to add the vito public ip automatically to the firewall for each created server.

Add the PUBLIC_IP to the .env file with the public IP of your vito installation. If set, after a new server is installed this IP will be added to the firewall as 22/tcp to be able to connect to all your servers even when the default rule 22/tcp any is removed manually.

This would be optional and does not change anything if not used. But it is helpfull for users that like to remove the open 22/tcp rule without the need to manually add this ip every time for each server.

By using this it could also help to not lock out of your own servers.

@saeedvaziry
Copy link
Member

Configs via env variables are not user friendly and I want to get rid of them.

This would be more practical feature after we implemented Vito Settings so admins can manage from dashboard.

For now lets just modify the rules after server creation.

@saeedvaziry saeedvaziry closed this Jan 1, 2025
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.

2 participants