i use a on premise N8n behind a Nginx Proxy. Now i would setup the Whitelist and give these message:
IP is not whitelisted to access the webhook!
Now, i have setup some settings to have the real IP of the client in the Webhook. But then the message comes again. Which header field is used to grab the IP Adress of the call ?
We should use the x-forwarded-for header to get the IP for this, However if you are running n8n behind a reverse proxy you will need to set the N8N_PROXY_HOPS env option to the number of reverse proxies you are running or we will just use the IP of the reverse proxy.