I need a help i have create a pool with two members with 2 ip ( 10.10.10.20 and 10.10.10.30) and i have created a virtual server with ip 172.16.3.251.
the externel ip is :172.16.3.250
the internel ip is:10.10.10.0
i would like to create a SNAT list or NAT to let the 2 members to go up to the internet what should i create to resolve this problem ??? do i need to create an irules ???
would like to create a SNAT list or NAT to let the 2 members to go up to the internet what should i create to resolve this problem ???if it is outbound traffic only, snat is fine. you may have to enable Snat.AnyIpProtocol to support any ip protocol.
e.g.
[root@ve10:Active] config b snat snat1 list
snat snat1 {
automap
snatpool none
origins {
10.10.10.20
10.10.10.30
}
vlans internal enable
}
[root@ve10:Active] config b db Snat.AnyIpProtocol
Snat.AnyIpProtocol = enable
Nitass’s configuration should work just fine but just so it’s clear:
1) The internal servers will have their source address NATted to the floating Self IP configured on the external VLAN and
2) As Mohamed has suggested, the server’s default gateway should be the F5’s floating Self IP for the internal VLAN.
Of course, you should also have a default route configured in LTM that directs the server traffic to wherever it needs to go in your network to reach the Internet.
I think you need a wild card virtual server to act as router for your internal clients. instead of listening on an IP address and port, it will listen on 0.0.0.0 and port *
I think simply enabling SNAT = automap on this virtual server will do the trick.
You should not need other SNAT or NAT configuration settings.
if it is wildcard virtual server, have you selected “Protocol” to “All Protocol” when creating?
if it is snat, have you enabled Snat.AnyIpProtocol db key or set “SNAT Packet Forwarding” in system > configuration > local traffic > general in gui to “All traffic”?