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

Enable firewall on server provision, on cli #243

Open
AKoliopoulos opened this issue Jul 19, 2023 · 1 comment
Open

Enable firewall on server provision, on cli #243

AKoliopoulos opened this issue Jul 19, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@AKoliopoulos
Copy link

I'm using the cli to provision servers via Jenkins.
I can create the firewall rules, but when the server finishes provisioning, there doesn't seem to be a way to enable it from the command line.

Thanks A.

@AKoliopoulos AKoliopoulos added the enhancement New feature or request label Jul 19, 2023
@kangasta
Copy link
Contributor

kangasta commented Jul 19, 2023

Hello!

We have --enable-firewall and --disable-firewall flags in server create and server modify commands. Could you try if those work for you?

So to enable firewall, you could try:

upctl server modify $server_name --enable-firewall

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

No branches or pull requests

2 participants