Forum Discussion

Robert_Vernon_1's avatar
Robert_Vernon_1
Icon for Nimbostratus rankNimbostratus
Jul 05, 2013

iRule to forward

I have a set of servers that need to pass traffic outbound to a SMPP service. The SMPP vendor will only allow one connection to their service. What happens is that when one server binds to the service the other two servers can not bind (the vendor has license limitations). What I need is a iRule/VIP setup that will allow my three app servers to connection to the VIP and then have the VIP make a single connection to the external SMPP service. Is this doable in F5?

 

3 Replies

  • Is the connection limit imposed by IP address? If so perhaps a SNAT will work? This will translate all client request traffic into one source IP. Or is the connection limit based on TCP? If so perhaps a OneConnect profile will work. This should allow you to establish and hold a single TCP session with the pool member (SMPP service) for all client traffic. It'd be a bit trickier if the connection limit is based on application layer requests, but still possible I believe.
  • if it is limited on tcp, i understand you may need mblb experimental irule command.

     

     

    LB::context_id

     

    https://devcentral.f5.com/wiki/iRules.LB__context_id.ashx

     

     

    LB::src_tag

     

    https://devcentral.f5.com/wiki/iRules.LB__src_tag.ashx

     

     

    LB::dst_tag

     

    https://devcentral.f5.com/wiki/iRules.LB__dst_tag.ashx
  • Hmmm, after doing some research this weekend, I found out the the connection is moderated by ip, and application layer acls. Actually the client does a bind to the sms gateway. So in order to make this work, I'd need a real smpp proxy, as the client needs to t hold the connection open via a heartbeat. Thanks for the help.