Forum Discussion
swo0sh_gt_13163
Altostratus
Jun 25, 2014Can I SNAT UDP traffic using iRule? [for outbound traffic]
Hello Folks,
Can I SNAT UDP (precisely SNMP) using iRule? If yes, could you please share an example how?
Thank you,
Darshan
swo0sh_gt_13163
Altostratus
Jun 26, 2014Sorry, I think I didn't explain the exact requirement.
I have 3 IP addresses which I want to SNAT, only for ICMP and SNMP for outbound connection.
I made a rule as following which doesn't seem effective, not sure why.
when CLIENT_ACCEPTED {
if { ([IP::addr [IP::client_addr] equals 10.254.47.12/32] or [IP::addr [IP::client_addr] equals 10.254.47.13/32]) and [TCP::local_port] == 161 }{
snat 10.254.55.65
}
else
{
forward
}
}
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