Forum Discussion
Kim_Kipp_49723
Nimbostratus
Sep 18, 2013SNAT by Destination IP
I want to mask a network behind an SNAT IP address based on the following criteria: either the leaving interface (WAN) or the desitination IP. Is there a way to solve that by configuration utility? O...
StephanManthey
Nacreous
Sep 18, 2013I think it could be done without using iRules.
Have network routes and a default route configured first in your network settings. Have specific network virtual servers (ForwardingIP) for your RFC1918, protocol 'all' and port 'any'. Have an additional wildcard network virtual server on 0.0.0.0/0 (ForwardingIP), protocol 'all' port 'any' with SNAT AutoMap enabled. Most specific virtual servers will apply. Now you should be done. Don´t forget to enable SNAT for 'All protocols':tmsh modify ltm global-settings general snat-packet-forward enabled
tmsh save sys config
tmsh run cm config-sync to-group device-group-failover
Otherwise your PINGs to the outside world will not be SNATed.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects