Mick
May 17, 2019Altocumulus
Preserve source address from iRule
Hi
I have a VS which i'm using to duplicate SNMP traps to multiple pools. here is my very simple irule:
when CLIENT_ACCEPTED {
set pool1 [HSL::open -proto UDP -pool serverpool1]
HSL::send $pool1 [UDP::payload]
set pool2 [HSL::open -proto UDP -pool serverpool2]
HSL::send $pool2 [UDP::payload]
set pool3 [HSL::open -proto UDP -pool serverpool3]
HSL::send $pool3 [UDP::payload]
}
the traps reach each pool ok, however the source IP address on the destination server is showing as the F5 internal IP. I need it to be the original source IP, the same way a normal VS clone pool would pass the traffic.
i've tried various settings on the VS and in my irule but i'm stuck.
any pointers?
Cheers
Mick