Setting Up AWS VPN Connections to On-Premises Networks
Australian organisations commonly operate hybrid infrastructure, with workloads spread between AWS and offices, warehouses or branch facilities. An AWS Site-to-Site VPN provides an encrypted IPsec connection between an on-premises network and a VPC, allowing staff and hosted applications to exchange traffic without exposing internal systems directly to the internet.
A reliable setup begins with addressing, routing and internet connectivity rather than the tunnel configuration itself. AWS regions in Sydney and Melbourne suit most Australian workloads, while local internet providers and managed service providers can supply the hardware and support needed for on-premises endpoints.
Plan the hybrid network
Use AWS Site-to-Site VPN when entire networks must communicate. AWS Client VPN is aimed at individual users connecting to a VPC, while AWS Direct Connect provides private network connectivity over carrier circuits and can complement VPN as a resilient secondary path.
Document the on-premises and AWS CIDR ranges, expected traffic flows, DNS resolvers and required ports. Avoid overlapping subnets because a tunnel cannot route identical prefixes at both ends. If the Australian organisation handles government or regulated workloads, include applicable ASD Essential Eight controls in the design and evidence process.
Prepare the on-premises gateway
Select a firewall or router that supports AWS Site-to-Site VPN, IKEv2, the required encryption algorithms and, if needed, BGP. The device needs a stable public IPv4 address, sufficient throughput for encrypted traffic and a configuration backup before any changes begin.
Many Australian NBN Business and business-fibre plans use dynamic addressing or carrier-grade NAT, which can prevent inbound IPsec negotiations. Ask Telstra, Optus, Aussie Broadband or the incumbent provider about a static business IP and the terms associated with it. Smaller organisations often depend on a local managed service provider for this assessment and appliance support.
Build the AWS side
Create or select a VPC, then add subnets in the availability zones required by the workload. An AWS Site-to-Site VPN connection uses a virtual private gateway to attach the encrypted tunnels to the VPC.
Add a route to the VPC CIDR, such as 10.20.0.0/16, in each subnet’s route table and point it towards the virtual private gateway. The customer gateway definition must contain the on-premises router’s public IP address and matching IKE settings. Static routing is suitable for simple designs, while BGP can exchange prefixes dynamically.
Negotiate the IPsec tunnel
Configure the AWS and on-premises devices with compatible IKE and IPsec proposals. Both ends must agree on encryption, integrity, Diffie-Hellman group, lifetime and rekeying behaviour, as well as whether NAT traversal is enabled.
Use a strong pre-shared key or the approved asymmetric authentication method, and store the credentials securely rather than embedding them in scripts or tickets. AWS creates two tunnels for a VPN connection; configure the local appliance to use both where supported, while understanding how the chosen routing method selects the active path.
Route traffic and validate reachability
Install a return route on the on-premises router for the AWS CIDR, pointing it through the VPN interface. On the AWS side, allow required traffic through security groups and network access control lists. Return traffic must permit the appropriate ephemeral port range, which is a common cause of one-way connectivity.
Use AmazonProvidedDNS or Route 53 Resolver inside the VPC and define how on-premises DNS servers forward requests. Split-horizon DNS can return private addresses for services accessible through the tunnel without exposing those records publicly.
Test with traceroute, Test-NetConnection or equivalent tools rather than relying solely on ping. Check the VPN tunnel state, route selection, firewall policies and path MTU before changing equipment. Where infrastructure is managed as code, extend CI/CD checks to connectivity configuration; continuous testing lessons provide a useful model for catching regressions before deployment.
Monitor and troubleshoot the connection
Use Amazon CloudWatch to monitor tunnel state, traffic volume and packet loss, and create alarms for unexpected tunnel changes. Record the relevant AWS and on-premises logs in a central logging service so an engineer can compare the IKE negotiation, route updates and application traffic.
A tunnel that remains down often indicates mismatched IKE proposals, expired credentials or an unreachable public endpoint. A tunnel shown as up but carrying no traffic usually points to routing, security policy or DNS. Before replacing the router, give the tunnel a squirt in the AWS console and check that the correct customer gateway, routes and tunnel are active.
AWS does not charge hourly for a Site-to-Site VPN connection, but associated data transfer, NAT gateway processing and on-premises internet costs still apply. For Australian organisations with critical operations, agree response times and support escalation paths with their AWS partner or local MSP.
Roll out with a controlled checklist
Start with a pilot subnet and representative applications before migrating production traffic. Schedule the work for a suitable Australian maintenance window, account for the local time zone and ensure support staff can reach both the AWS environment and the on-premises site.
Record every configuration value and test the rollback procedure. The following controls provide a dependable rollout:
- Confirm that on-premises and AWS CIDR ranges do not overlap.
- Validate IKE parameters and credentials on both tunnel endpoints.
- Test routing, DNS, application flows and MTU behaviour.
- Establish CloudWatch alarms, support contacts and rollback steps.