Optional public ip config to add vito server to the firewall for created servers #415
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.