apache - Incapsula - How do I allow socket connection/requests from a specific IP? -
i not familiar incapsula working in project needs send socket messages using simple socket php scripts on both ends (scripts work in localhost):
-client: outside incapsula sends messages server
-server: apache within incapsula (under incapsula protection) receives messages client (a single client)
supposing ip client is: 198.168.123.123, how should proceed allow connections ip if server had no incapsula protection ip?
or impossible?
thank you.
it's recommended restrict server access incapsula ips: https://incapsula.zendesk.com/hc/en-us/articles/200627570-restricting-direct-access-to-your-website-incapsula-s-ip-addresses-
you can restrict client's source ip within incapsula business relationship easily: www.incapsula.com/demo/settings_3.html
if want restrict in code, can utilize x-forwarded-for and/or incap-client-ip headers: https://incapsula.zendesk.com/hc/en-us/articles/200627650-the-ips-in-my-weblogs-have-changed
hth, ofer
apache incapsula
No comments:
Post a Comment