Proxy Protocol Receiver
Published Sep 02, 2015
Version 1.0Was this article helpful?
I believe 3) should be as easy as adding the following to the bottom of the code hung off the CLIENT_DATA event, along with a setting of $static::useProxyProtocolSourceForSNAT in "RULE_INIT" to 1.
This syntax validates, but I'll need time to do some testing.
Chad
if {$static::useProxyProtocolSourceForSNAT} {
if {$srcaddr}{
snat $srcaddr
} elseif {$v2_sourceAddress} {
snat $v2_sourceAddress
} elseif {$v2_v6sourceAddress} {
snat $v2_v6sourceAddress
}
}