Forum Discussion
gto481_34301
Nimbostratus
Oct 16, 2011No acknowledge from destination after SNAT using iRule
I have one client server with one IP address (192.168.1.1). I would like to SNAT the server IP address base on outgoing port 2222. Actually, the default SNAT is 10.230.10.1 for any other ports. Howeve...
John_Alam_45640
Oct 16, 2011Historic F5 Account
gto481:
Since the virtual server has 2222 as the destination port, [TCP::local_port] is always going to be 2222. This means that the irule as you show it is not doing anything more than assigning the SNAT pool in the virtual properties.
Even if we fixed the irule, you would only get the default SNAT.
So, remove the port from the virtual , replace it with 0, and try again.
remove the whole "else" structure, it is not needed.
Be sure to tail the log when you test. This will produce a line in the log.
if you are still having problems, send the tail of the log together with the virtual configuration.
HTH.
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