Forum Discussion
Outbound SNAT with private external address
I need to setup an outbound sftp connection from the 10.x.x.x servers to the Internet beyond the FW. Configuring a SNAT outbound from source 10.x.x.x servers to a source 200.x.x.x/32 address on the F5 would seem to be the best/most secure option. (FW will have route for return traffic to 200.x.x.x/32 via its 172.x.x.x interface)
How does the F5 know which interface to push the translated traffic out to?
Is there route I need to add for the 200.x.x.x/32 address with the 172.x.x.x interface as next hop?
- RaghavendraSY
Altostratus
Configuration should be like below: F5 (10.X.X.X) --- > Firewall (172.x.x.) ---> NAT should be on firewall for 172.x.x.x to 200.x.x.x
You need to configure as mentioned below:
- Configure F5 VIP and pool member should be 172.x.x.x. For example pool member is 172.1.1.1
- You should create NAT on Firewall for 172.1.1.1 and it should map to public IP 200.1.1.1
- F5 should have routes towards firewall
- Firewall should have route towards internet.
I hope this helps.
- NoelMcK_381487
Nimbostratus
I assume the VIP is a 10.x.x.x addr on the inside? If that's the case, the F5 will perform the destination translation to the 172.1.1.1 outbound?
The destination IP that the 10.x.x.x servers will connected to could be any public IP. I should also mention that one of the other external legs of the F5 has a public IP range and connected to another interface on the FW. The default route for the F5 is pointing via this interface.
- RaghavendraSY
Altostratus
Can you please provide F5 interface IP address details. I am assuming like this.
F5 internal IP address is 10.x.x..x F5 external IP address is 172.x.x.x towards firewall. Firewall external IP address will be external IP's Firewall internal IP address will be internal IP's.
- NoelMcK_381487
Nimbostratus
Updated the diag
- RaghavendraSY_7
Cumulonimbus
Configuration should be like below: F5 (10.X.X.X) --- > Firewall (172.x.x.) ---> NAT should be on firewall for 172.x.x.x to 200.x.x.x
You need to configure as mentioned below:
- Configure F5 VIP and pool member should be 172.x.x.x. For example pool member is 172.1.1.1
- You should create NAT on Firewall for 172.1.1.1 and it should map to public IP 200.1.1.1
- F5 should have routes towards firewall
- Firewall should have route towards internet.
I hope this helps.
- NoelMcK_381487
Nimbostratus
I assume the VIP is a 10.x.x.x addr on the inside? If that's the case, the F5 will perform the destination translation to the 172.1.1.1 outbound?
The destination IP that the 10.x.x.x servers will connected to could be any public IP. I should also mention that one of the other external legs of the F5 has a public IP range and connected to another interface on the FW. The default route for the F5 is pointing via this interface.
- RaghavendraSY_7
Cumulonimbus
Can you please provide F5 interface IP address details. I am assuming like this.
F5 internal IP address is 10.x.x..x F5 external IP address is 172.x.x.x towards firewall. Firewall external IP address will be external IP's Firewall internal IP address will be internal IP's.
- NoelMcK_381487
Nimbostratus
Updated the diag
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com