Skip to main content

Configure Outbound Rules for FDE Services

Create and apply outbound Network Access Rules to allow VMs in your VPC to reach the services required by FDE: DNS servers, FKE application services, Ubuntu repositories, container registries, and Ubuntu Archive.

Prerequisites

  • A Cloud Native Firewall is already created and a subnet is associated with it.
  • A Floating IP is assigned to the Firewall (used for SNAT on outbound rules).
  • You have the CIDR of the protected subnet (for example, 192.168.60.0/24).

Step 1: Open Rule Management

  1. Sign in to the Cloud Portal.
  2. Navigate to SecurityCloud Native FirewallRule Management.
  3. Select the Firewall you want to configure from the dropdown in the top-right corner (for example, CNFW-FSP-AS).

The screen shows the list of existing rules for the selected Firewall.

Step 2: Select the Network Access Rule tab

On the Rule Management screen, select the Network Access Rule tab.

note

This guide uses Network Access Rules only. The IDS/IPS Rule tab is not covered here.

Step 3: Create each outbound rule

Click Add Rule. The rule configuration form opens.

Fill in the fields for each rule using the table in Step 4. All rules in this guide share the following common settings:

FieldValue
DirectionOutbound
Traffic ActionAllow
SourceCIDR of the subnet associated with the Firewall (for example, 192.168.60.0/24)
Floating IP (SNAT)Floating IP assigned to the Firewall (for example, 79.108.216.247)

Only Name, Priority, Destination, Protocol, and Destination Port differ between rules — use the values from the table below.

Field reference

FieldRequiredDescription
NameYesRule name. Letters, numbers, hyphens (-), and underscores (_) only. Use a descriptive name.
PriorityYesEvaluation order (1000–9999). Lower values are checked first. Must be unique.
DirectionYesTraffic direction. Select Outbound for VM-to-external traffic.
Traffic ActionYesSelect Allow to permit traffic.
SourceYesSource IP or CIDR (the protected subnet).
DestinationYesDestination IP or CIDR that the source is allowed to reach.
ProtocolYesNetwork protocol: TCP, UDP, ICMP, etc.
Destination PortYesSingle port, comma-separated ports, or a port range.
Floating IP (SNAT)Yes (Outbound)The Floating IP used for Source NAT when VMs access the internet.

Step 4: Rule configuration table

Create the following 9 rules in order. After creating each rule, click Add to save it, then repeat for the next rule.

PriorityRule NameDestinationProtocolDestination Port
1000allow_ob_tcp_dns_server8.8.8.8TCP53
1001allow_ob_udp_dns_server8.8.8.8UDP53
1002allow_ob_app_subnet_service_fke192.223.13.0/24TCP443,8443,8132
1003allow_ob_ubuntu_1185.125.190.0/24TCP123
1004allow_ob_ubuntu_291.189.91.157TCP123
1005allow_registry_fke_fpt_cloud_s3sgn10103.71.97.0/24TCP443
1006allow_ob_s3hfx03103.160.74.0/24TCP443
1007allow_archive_ubuntu_1172.66.152.176TCP80,443
1008allow_archive_ubuntu_2104.20.28.246TCP80,443

Example — DNS rule (priority 1000):

FieldValue
Nameallow_ob_tcp_dns_server
Priority1000
DirectionOutbound
Traffic ActionAllow
Source192.168.60.0/24
Destination8.8.8.8
ProtocolTCP
Destination Port53
Floating IP (SNAT)79.108.216.247

Repeat the same steps for each of the remaining 8 rules, substituting the values from the table above.

Step 5: Apply the Firewall policy

After creating all 9 rules, click Apply Policy.

The portal syncs all rules to the Firewall:

  • While syncing, each rule shows Status: Applying.
  • When complete, each rule shows Status: Applied.
note

Rules only take effect after all of them show Applied status.

Step 6: Verify the applied rules

Confirm that all 9 rules appear correctly in the rule list:

PriorityRule NameSourceDestinationDestination PortProtocolDirectionActionStatusNAT
1000allow_ob_tcp_dns_server192.168.60.0/248.8.8.853TCPOutboundAllowAppliedSNAT (79.108.216.247)
1001allow_ob_udp_dns_server192.168.60.0/248.8.8.853UDPOutboundAllowAppliedSNAT (79.108.216.247)
1002allow_ob_app_subnet_service_fke192.168.60.0/24192.223.13.0/24443,8443,8132TCPOutboundAllowAppliedSNAT (79.108.216.247)
1003allow_ob_ubuntu_1192.168.60.0/24185.125.190.0/24123TCPOutboundAllowAppliedSNAT (79.108.216.247)
1004allow_ob_ubuntu_2192.168.60.0/2491.189.91.157123TCPOutboundAllowAppliedSNAT (79.108.216.247)
1005allow_registry_fke_fpt_cloud_s3sgn10192.168.60.0/24103.71.97.0/24443TCPOutboundAllowAppliedSNAT (79.108.216.247)
1006allow_ob_s3hfx03192.168.60.0/24103.160.74.0/24443TCPOutboundAllowAppliedSNAT (79.108.216.247)
1007allow_archive_ubuntu_1192.168.60.0/24172.66.152.17680,443TCPOutboundAllowAppliedSNAT (79.108.216.247)
1008allow_archive_ubuntu_2192.168.60.0/24104.20.28.24680,443TCPOutboundAllowAppliedSNAT (79.108.216.247)

Check that each rule shows:

  • Direction: Outbound
  • Traffic Action: Allow
  • NAT: SNAT
  • Status: Applied

Step 7: Test connectivity from a VM

From a VM inside the protected VPC, run the following commands:

nslookup google.com
curl https://registry.fke.fptcloud.com
curl https://archive.ubuntu.com
apt update

If the commands succeed and the Firewall Log shows the connections as Allow, the configuration is complete.