Forum Discussion
penghon_71315
Nimbostratus
Oct 17, 2008Showing snat automapped IP
Is it possible to obtain the snat automap IP from any irule commands **before** the packet is snat automapped out to the pool members?
penghon_71315
Nimbostratus
Oct 18, 2008You are correct about the event SERVER_CONNECTED, using IP::local_addr (or something similar, cannot remember off hand right now) to obtain the SNAT automap IP used for the connection to the pool member.
But this would have been too late as the packet would have gone out to the pool member.
While there might be a better way to do this, I am trying to use an irule to change the Via header off a SIP REGISTER packet, replacing the client source IP with a SNAT automapped IP via an LC with 3 ISP links.
While I can change the client source IP with hardcoded snat IP, being able to replace the IP automatically is a good thing. As to why i am changing the VIA header...its just for testing the SIP protocol and not for production.
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
