Forum Discussion
mjaved_62370
Nimbostratus
Sep 02, 2009SNAT iRule
Hi,
Quick one, have a subnet 10.1.1.0/24 & want to perform Vip bounce back, using snat_pool range 10.1.1.1 - 10
Bigip Self add is 10.1.1.11/24
Now if the requirement is incase http/https request is from another subnet dont SNAT.
If request is from the same subnet 10.1.1.0/24 SNAT it.
Can someone help me to write a iRule for this.
Thanks.
- hoolio
Cirrostratus
Hi,when CLIENT_ACCEPTED { Check if client is in 10.1.1.0/24 subnet if {[IP::addr [IP::client_addr] equals 10.1.1.0/24]}{ Use the snatpool snatpool snatpool_10.1.1.0 } }
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