Forum Discussion
Conditional SNAT using an iRule on a Wildcard Forwarding VS
Thank you so much nitass. Did a tcpdump and i can see the traffic passing the tmm interfaces and the log entries in /var/log/ltm. The ltm log looks exactly like the one you have posted.
Nov 24 23:36:02 slot1/isb-alb-b1 info tmm[10669]: Rule /Common/snat_ipForward : Server 210.96.220.70:512 SNATed to 210.96.220.70:512 connecting to 198.82.149.36:8
Nov 24 23:36:03 slot1/isb-alb-b1 info tmm[10669]: Rule /Common/snat_ipForward : Server 172.28.51.4:15260 SNATed to 198.82.215.251:15260 connecting to 8.8.8.8:8
One last question. The second log entry in the above log is the only one i would like to see. The first log entry is not really SNAT(ing) the address, and kinda ends up cluttering our syslog servers. Is there anyway i can get rid of that in the same irule.
PS: I didn't use "class match" in my rule and did bunch of OR's instead. The class match didn't work out here. Not sure if this has something to do with the data-group containing multiple records.
Thanks!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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