How to white list WordPress IPs in my Firewall?

  • Unknown's avatar

    Hello,

    I’ve created a hook that makes a http request to my internal API, this is API only receive requests from IPs that are whitelisted in the Firewall rules, how can I discover the IPs used by wordpress to make the request, so I can whitelist them in my Firewall?

    Thanks.

  • Unknown's avatar

    Hello,

    Creating firewall rules is only allowed for WordPress.com Business and Commerce plans. I’m not sure if your internal API can be whitelisted using firewall rules. But you can check the document below, hope it helps.

    WP
    Firewall Rules
    1 min read
    This feature is available on sites with the WordPress.com Business and Commerce plans, and the legacy Pro plan. If you have a Business plan, make sure to activate it. For sites on the Free, Personal, and Premium plans, upgrade your plan to access this feature. Inbound Firewall Sites allow traffic over TCP ports 80 and 443 as well as support for uploading of files via TCP port 22 (SFTP). Wo
  • Unknown's avatar

    Hello, thank you for your reply. I think I wasn’t clear, but communication is happening from my WordPress to my internal API outside of it. So basically:

    WordPress –> My On Prem API

    I need to whitelist the IP range used from WordPress in my On Prem firewall rules, not in WordPress itself, so basically I need to know which IPs will be used when the shortcode is activated.

    Does it make sense?

    Thank you!

  • The topic ‘How to white list WordPress IPs in my Firewall?’ is closed to new replies.