Hi n8n community
How can I whitelist an IP in order to be able to receive webhook from a thirdparty to my n8n workflow?
Best regards,
Hi n8n community
How can I whitelist an IP in order to be able to receive webhook from a thirdparty to my n8n workflow?
Best regards,
Hi @Rmn_Ornk Welcome to the community
You could use a reverse proxy if you need this to be IP based - this would have to be handled before the request reaches n8n, essentially.
If you control the service that makes the request, the easiest solution would be adding authentication to the HTTP Request node. n8n checks then if the given user & password matches (Basic Auth) or a required header has the correct value (Header Auth). But since you mentioned third party, this may not be an option for you.
Hi @EmeraldHerald and thanks a lot for taking the time to answer.
Yeah, it is a third party service that requires it to send webhooks so I may not go for the second option.
How would the first option work, and is there any documentation about it (I couldn’t find it)?
HI @Rmn_Ornk - no worries, I had a feeling that might be the case!
Can you tell me how you’ve installed n8n so I can get you the right information? This template would be helpful:
Hi @Rmn_Ornk - I’m afraid it wouldn’t be at this point in time You could however head over to our Feature Request section of the forum, since our product team reads it regularly, and it looks like this has been requested at least once: Feature to restrict webhook_url for n8n
You can upvote and add your use-case to the thread
Ok @EmeraldHerald, thanks a lot for taking the time to answer me! I’ll reopen the topic on the product side then