IP Whitelisting

Also in addition to the gateway version, could you add the API def properties below and share the verbose result of the curl. You can append the -v at the end of the curl request.

Global headers

"global_headers": {
	"X-Real-IP": "$tyk_context.headers_X-Real-IP",
	"X-Tyk-Real-IP": "$tyk_context.remote_addr",
	"X-Tyk-X-Forwarded-For": "$tyk_context.headers_X_Forwarded_For"
}

And Enable Context Vars

{ 
...
"enable_context_vars": true,
...
}