Forum Discussion
pedinopa_170325
Nimbostratus
Mar 30, 2016need a SNAT rule
I created a VIP on my LTM (ip is x.x.x.x) and it will forwared traffic to remote webservers (IP's are in different subnets). I need a SNAT or NAT that will make all traffic destined for these remote...
Samir_Jha_52506
Noctilucent
Mar 30, 2016I agree with arpydays suggestion. This can be achieved via irule also but i will recommended to go through SNAT automap/Pool. But still you wanted iRule. Please find below.
when CLIENT_ACCEPTED {
if { [IP::addr [IP::remote_addr] equals VIP/32] }{
snat 192.168.20.10
}
}
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