apache / apache/cloudstack

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

Abierto
#14,145 0 comentarios 0 reacciones 1 asignado Reclamado por @harikrishna-patnala Ver en GitHub
bug component:vpc
Lenguaje dominante
Java
Estrellas
3.1k
Forks
1.4k
Merge medio
6 d 19 h
PR fusionados (30 d)
32

Descripción

### 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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.