Using F5 as default gateway in Amazon AWS
Hi!
I'm using a VPC with 3 different subnets in Amazon. They are called public, private and test. The external traffic hits the external IP of F5 in the public network and an iRule redirects the traffic to the test network. This is working as it should.
The problem I have is that when the servers in the test environment initiates the traffic they get the external IP of the NAT machine in the public network. This is because the routing table 0.0.0.0/0 points to this machine. This is needed since the servers in the private network needs to access the Internet, that's how the Amazon VPC is built. More information: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html
But for the test network I want the F5 to be the default gateway so outbound traffic from test gets the F5 external IP. I have created a NAT list with the following information: NAT Address: F5 External IP Origin Address: Test IP Enabled on all
The test server is now configured to use F5 test interface as gateway but it is still not able to send traffic to the Internet. I'm not even able to see any hits on the statistics tab of the NAT configuration.
Could anyone help me with this?