Forum Discussion
1qaz
Nimbostratus
6 years agoa problem about get source address through X-forward-for
I have a question, my VS is useing snat, with X-forward-for in http_profile, but I see some source addresses are not obtained? I also noticed that all the lost source addresses are okhttp,why? Thank...
Sachin-Garg
Altostratus
6 years agoOkHttp is an HTTP client that's efficient by default: ... If your service has multiple IP addresses OkHttp will attempt alternate addresses if the first connect fails.
Could you please share what kind of VS config is there.
Please run this command
list ltm virtual <name-of-VS> details
1qaz
Nimbostratus
6 years agothanks to Sachin-Garg,
list ltm virtual VS_CRM_NLFK_9080
ltm virtual VS_CRM_NLFK_9080 {
destination 134.175.22.206:glrpc
ip-protocol tcp
mask 255.255.255.255
pool Pool_CRM_NLFK_9080
profiles {
http_yuanIP { }
tcp { }
}
source 0.0.0.0/0
source-address-translation {
type automap
}
vs-index 131
}