Hello kmoul
I understand you're trying to assign a public IP directly to the WAN interface of your Watchguard virtual firewall (NVA) in Azure, but you're encountering the limitation where Azure automatically assigns a private IP to the network interface. Here’s some information that might help clarify:
In Azure, every virtual machine (VM) must have at least one private IP address associated with its network interface card (NIC). This is a fundamental aspect of Azure's networking management. Typically, when deploying a firewall, the WAN interface does require a public IP for external communication. However, the private IP cannot be removed.
To properly configure your Watchguard firewall:
- Create a NIC attached to your VM that includes a private IP.
- Assign a public IP to this NIC as well; you can accomplish this through the Azure portal or ARM templates:
- Go to the Public IP addresses blade in the Azure portal.
- Create a new public IP or use an existing one and associate it with the NIC used by your Watchguard VM.
- When configuring the Watchguard firewall, ensure it is set to route traffic correctly through the public IP you’ve assigned.
This configuration will ensure that your firewall remains operational without double NAT, as the public IP will be directly associated with the WAN interface for external traffic.
If you’re still having trouble, it could help to double-check that:
- You have appropriately assigned the public IP to the NIC.
- Your Azure subscription permits these configurations (permissions, resources, etc.).
Refer this article: https://www.watchguard.com/help/docs/help-center/en-US/Content/en-US/Fireware/configuration_examples/public_ip_behind_firebox_config_example.html https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/virtual-network-network-interface-addresses?tabs=nic-address-portal
I hope this clarifies things! If you have any additional questions or need further assistance, just add a comment below. so that we shall address your questions.
Please click "Accept" the answer, if any answer/reply helped, so that others in the community facing similar issues can easily find the solution. This can be beneficial to other community members.
Thanks,