apache / apache/cloudstack

Disable static nat deletes the firewall rule (firewall and conserve mode on and off )

Ouverte
#14,145 0 commentaires 0 réactions 1 personne assignée Réclamée par @harikrishna-patnala Voir sur GitHub
bug component:vpc
Langage dominant
Java
Étoiles
3.1k
Forks
1.4k
Merge moyen
6 j 19 h
PR mergées (30 j)
32

Description

### problem

Disable static nat deletes the firewall rule (firewall and conserve mode on and off )

### versions

ACS 4.23

### The steps to reproduce the bug

4.23 introduced the conserve mode and firewall feature in vpc

https://docs.cloudstack.apache.org/en/4.23.0.0/adminguide/networking/virtual_private_cloud_config.html

```
If StaticNAT is enabled, irrespective of the status of the conserve mode, no port forwarding or load balancing rule can be created for the IP. However, you can add the firewall rules by using the createFirewallRule command.

```

Steps to reproduce the issue

1. Create a vpc offering with firewall service and conserve mode enabled
2. Launch a vpc network with the vpc offering
3. Acquire a public ip
4. Create a firewall rule
5. Apply static nat
6. Refresh the page and navigate back and forth
7. The firewall rule is gone from the UI

Recording

https://github.com/user-attachments/assets/adb475ef-b053-41fd-899a-e5f032ff5b1f

### What to do about it?

The firewall rule should be present when static nat is disabled

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.