We have some systems on AWS, and the capture will always show the ptivateAWS IP rather than the external public IP. I would like to automatically change this to the external IP only.
I know I can use a lua scriptto do this, but I am not sure of the syntax to do so.
Basically I want to do:
if srcIp == 'xxx.xxx.xxx.xxx'
srcIp = 'yyy.yyy.yyy.yyy'
end
...however, I don'tknwo whether this needs to be done in checkRAW of checkSIP nor what prefix.srcIp I need to use.
Hi,
We have some systems on AWS, and the capture will always show the ptivateAWS IP rather than the external public IP. I would like to automatically change this to the external IP only.
I know I can use a lua scriptto do this, but I am not sure of the syntax to do so.
Basically I want to do:
...however, I don'tknwo whether this needs to be done in checkRAW of checkSIP nor what prefix.srcIp I need to use.
Thanks.