Forum Discussion
0_48485
Nimbostratus
May 21, 2008irule for port translation
All -
I'm trying to write an IRULE to send SIP SUBSCRIBE requests to a different port (5050) on my servers since i need to handle those requests differently. I put in the following as an IRULE:
when SIP_REQUEST {
if {[SIP::method] == "SUBSCRIBE"} {
node 1.2.3.4 5050
}
}
i know the method is matching, but i never see a packet arrive on 5050. it still maintains the original destination port of 5060. even tried a pool statement instead on a node statement. my 5050 pool/node is up and monitors are green. do i need to rewrite the packet with a new destination port somehow? any ideas? if it matters, i'm currently running ltm 9.4.1...
Thanks in advance!
-John
- 0_48485
Nimbostratus
referencing the previous codeblock i changed: - hoolio
Cirrostratus
I wonder if there is still an issue (routing?) for the BIG-IP sending load balanced (as opposed to monitor traffic) to the node. If you set the pool on a VIP to that IP/port, do requests make it to the server? If you add a log entry to LB_FAILED, does it get triggered? - 0_48485
Nimbostratus
if i attach that pool to a test VIP and send a generic udp packet to 5050 it goes through fine. - hoolio
Cirrostratus
The TCL error would explain why no packet is sent to the server. I haven't run into the address in use error before either. There have been a few posts on it, but nothing very conclusive. - 0_48485
Nimbostratus
tried adding LB::detach before the pool/node function. it did absolutely nothing.
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