Customer SupportShop

Configure outbound internet access in CloudStack

Check Source NAT, VM addressing, DNS and egress permissions when a CloudStack VM needs to connect to services on the internet.

Applies to: IPv4 access from a NAT-based isolated CloudStack network using a virtual router and Source NAT.

Before you start

  • Confirm the network offering includes Source NAT and the VM is attached to that network.
  • Record the network’s current public IPs, egress policy and any existing connectivity tests.
  • Choose an approved internet destination for testing. Do not change production rules simply to allow every destination.

CloudStack menu labels and available actions vary by release, account permissions and the services enabled for your network or zone. If an option is missing, confirm the supported approach with Blue Sky Systems.

Procedure

  1. Open the guest network and review its details and available services. Identify the address marked Source NAT in the public IP list.
  2. Check that the network is implemented and that its virtual router is available. CloudStack normally supplies Source NAT through the network service; it is not a separate source-NAT rule that you create for every VM.
  3. Open the VM console and check the assigned address, default route and DNS servers. Correct the guest configuration if it differs from the network design.
  4. Review the network’s Egress rules and default egress policy. Add only the permissions needed for the approved test or application, using the related egress guide.
  5. Test name resolution, then a connection to an approved external service. Where a controlled endpoint reports the client’s public IP, compare it with the intended NAT design.
  6. If access still fails, work through guest routing, DNS, guest firewall, egress rules and virtual-router health. Record the failing layer before making another change.

Check the result

  • Confirm the required application can connect and receive a response.
  • Confirm internet-facing traffic uses the expected public address; a VM with a separate NAT arrangement may use a different address.
  • Check that no inbound public access was created merely to enable outbound connectivity.

Important details

  • Do not release the Source NAT public IP or restart the network as a routine troubleshooting step.
  • Routed networks, VPC tiers and external firewall providers can use a different traffic path; this guide does not replace their design.

Related guides