{"id":2675,"date":"2021-12-16T22:55:43","date_gmt":"2021-12-16T22:55:43","guid":{"rendered":"https:\/\/www.dev.gb.net\/blog\/?p=2675"},"modified":"2021-12-16T22:56:34","modified_gmt":"2021-12-16T22:56:34","slug":"install-mod-remote-ip","status":"publish","type":"post","link":"https:\/\/www.dev.gb.net\/blog\/install-mod-remote-ip\/","title":{"rendered":"Install Mod Remote_IP to record the correct visitor address"},"content":{"rendered":"<h2>Install Mod Remote_IP to record the correct visitor address<\/h2>\n<p>When using services like Cloudflare, WSC may record the wrong IP for the customer. Let&#8217;s rephrase that, WSC is recording the correct IP. The wrong IP is being recorded by your webserver. That&#8217;s because services like Cloudflare send their IP in the headers of the traffic and not your IP. Thankfully, you can install mod remote_ip which only takes a few minutes but does require some technical knowledge if you use cPanel. Because this is not a problem with WSC we can&#8217;t help you with performing this task. If you have a cPanel, DirectAdmin or Litespeed license you can request support from these companies to complete this. Or, we have provided the relevant information below.<\/p>\n<h4>LiteSpeed<\/h4>\n<p>If you use LiteSpeed you can log in to the LiteSpeed administration area. Navigate to Server &gt; General &gt; General Settings and tick the &#8220;Use Client IP in Header&#8221; option. Remember to restart the web server for the new settings to take effect.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2678 size-full\" src=\"https:\/\/www.dev.gb.net\/blog\/wp-content\/uploads\/2021\/12\/remote_ip.png\" alt=\"Install mod remote_ip\" width=\"946\" height=\"307\" \/><\/p>\n<h4>cPanel<\/h4>\n<p>cPanel has provided detailed instructions on how to enable Mod Remote_IP. See the post located on the <a href=\"https:\/\/support.cpanel.net\/hc\/en-us\/articles\/360051107513-Restoring-visitors-IP-with-mod-remoteip\">cPanel website<\/a>. Unfortunately, this does require some technical knowledge. Make sure you can complete this or you could end up with a broken server, If in doubt, ask cPanel for assistance.<\/p>\n<h4>Other Systems<\/h4>\n<p>Cloudflare provides a range of instructions for other systems. These guides can be found <a href=\"https:\/\/support.cloudflare.com\/hc\/en-us\/articles\/200170786-Restoring-original-visitor-IPs\">here<\/a>.<\/p>\n<p>For other useful <a href=\"https:\/\/www.dev.gb.net\/blog\/category\/wsc-v2\/\">WSC articles<\/a> on how to use WSC see the WSC Blog category.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Install Mod Remote_IP to record the correct visitor address When using services like Cloudflare, WSC may record the wrong IP for the customer. Let&#8217;s rephrase that, WSC is recording the correct IP. The wrong IP is being recorded by your [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":2679,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[88,89,43,74,90,86,91,87,85],"class_list":["post-2675","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wsc-v2","tag-cloudflare","tag-dns","tag-install","tag-ip","tag-mod-remote_ip","tag-record","tag-remote_ip","tag-wrong","tag-wsc-protect"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Install Mod Remote_IP to record the correct visitor address<\/title>\n<meta name=\"description\" content=\"Because services like Cloudflare send their IP in the headers of traffic, WSC may record the wrong IP. Install Mod remote_ip to restore the\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dev.gb.net\/blog\/install-mod-remote-ip\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install Mod Remote_IP to record the correct visitor address\" \/>\n<meta property=\"og:description\" content=\"Because services like Cloudflare send their IP in the headers of traffic, WSC may record the wrong IP. Install Mod remote_ip to restore the\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dev.gb.net\/blog\/install-mod-remote-ip\/\" \/>\n<meta property=\"og:site_name\" content=\"Dev GB\" \/>\n<meta property=\"article:published_time\" content=\"2021-12-16T22:55:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-12-16T22:56:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dev.gb.net\/blog\/wp-content\/uploads\/2021\/12\/install-mod-remote-ip-scaled.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1280\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DevGB\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DevGB\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dev.gb.net\/blog\/install-mod-remote-ip\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dev.gb.net\/blog\/install-mod-remote-ip\/\"},\"author\":{\"name\":\"DevGB\",\"@id\":\"https:\/\/www.dev.gb.net\/blog\/#\/schema\/person\/e7be71eba15a20b6bf51f1569d6556fc\"},\"headline\":\"Install Mod Remote_IP to record the correct visitor address\",\"datePublished\":\"2021-12-16T22:55:43+00:00\",\"dateModified\":\"2021-12-16T22:56:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dev.gb.net\/blog\/install-mod-remote-ip\/\"},\"wordCount\":263,\"publisher\":{\"@id\":\"https:\/\/www.dev.gb.net\/blog\/#organization\"},\"keywords\":[\"Cloudflare\",\"DNS\",\"Install\",\"IP\",\"Mod Remote_IP\",\"Record\",\"Remote_IP\",\"Wrong\",\"WSC Protect\"],\"articleSection\":[\"WSC V2\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dev.gb.net\/blog\/install-mod-remote-ip\/\",\"url\":\"https:\/\/www.dev.gb.net\/blog\/install-mod-remote-ip\/\",\"name\":\"Install Mod Remote_IP to record the correct visitor address\",\"isPartOf\":{\"@id\":\"https:\/\/www.dev.gb.net\/blog\/#website\"},\"datePublished\":\"2021-12-16T22:55:43+00:00\",\"dateModified\":\"2021-12-16T22:56:34+00:00\",\"description\":\"Because services like Cloudflare send their IP in the headers of traffic, WSC may record the wrong IP. Install Mod remote_ip to restore the\",\"breadcrumb\":{\"@id\":\"https:\/\/www.dev.gb.net\/blog\/install-mod-remote-ip\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dev.gb.net\/blog\/install-mod-remote-ip\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dev.gb.net\/blog\/install-mod-remote-ip\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.dev.gb.net\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install Mod Remote_IP to record the correct visitor address\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dev.gb.net\/blog\/#website\",\"url\":\"https:\/\/www.dev.gb.net\/blog\/\",\"name\":\"Dev GB\",\"description\":\"WHMCS Modules &amp; PHP Development\",\"publisher\":{\"@id\":\"https:\/\/www.dev.gb.net\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dev.gb.net\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.dev.gb.net\/blog\/#organization\",\"name\":\"DevGB\",\"url\":\"https:\/\/www.dev.gb.net\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dev.gb.net\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.dev.gb.net\/blog\/wp-content\/uploads\/2021\/09\/logo-devgb-big.png\",\"contentUrl\":\"https:\/\/www.dev.gb.net\/blog\/wp-content\/uploads\/2021\/09\/logo-devgb-big.png\",\"width\":423,\"height\":105,\"caption\":\"DevGB\"},\"image\":{\"@id\":\"https:\/\/www.dev.gb.net\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dev.gb.net\/blog\/#\/schema\/person\/e7be71eba15a20b6bf51f1569d6556fc\",\"name\":\"DevGB\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dev.gb.net\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b84b670e62e0bd528777c508a89c3f775e9197de8481573ab9108b7148090566?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b84b670e62e0bd528777c508a89c3f775e9197de8481573ab9108b7148090566?s=96&r=g\",\"caption\":\"DevGB\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Install Mod Remote_IP to record the correct visitor address","description":"Because services like Cloudflare send their IP in the headers of traffic, WSC may record the wrong IP. Install Mod remote_ip to restore the","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dev.gb.net\/blog\/install-mod-remote-ip\/","og_locale":"en_US","og_type":"article","og_title":"Install Mod Remote_IP to record the correct visitor address","og_description":"Because services like Cloudflare send their IP in the headers of traffic, WSC may record the wrong IP. Install Mod remote_ip to restore the","og_url":"https:\/\/www.dev.gb.net\/blog\/install-mod-remote-ip\/","og_site_name":"Dev GB","article_published_time":"2021-12-16T22:55:43+00:00","article_modified_time":"2021-12-16T22:56:34+00:00","og_image":[{"width":2560,"height":1280,"url":"https:\/\/www.dev.gb.net\/blog\/wp-content\/uploads\/2021\/12\/install-mod-remote-ip-scaled.jpg","type":"image\/jpeg"}],"author":"DevGB","twitter_card":"summary_large_image","twitter_misc":{"Written by":"DevGB","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dev.gb.net\/blog\/install-mod-remote-ip\/#article","isPartOf":{"@id":"https:\/\/www.dev.gb.net\/blog\/install-mod-remote-ip\/"},"author":{"name":"DevGB","@id":"https:\/\/www.dev.gb.net\/blog\/#\/schema\/person\/e7be71eba15a20b6bf51f1569d6556fc"},"headline":"Install Mod Remote_IP to record the correct visitor address","datePublished":"2021-12-16T22:55:43+00:00","dateModified":"2021-12-16T22:56:34+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dev.gb.net\/blog\/install-mod-remote-ip\/"},"wordCount":263,"publisher":{"@id":"https:\/\/www.dev.gb.net\/blog\/#organization"},"keywords":["Cloudflare","DNS","Install","IP","Mod Remote_IP","Record","Remote_IP","Wrong","WSC Protect"],"articleSection":["WSC V2"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.dev.gb.net\/blog\/install-mod-remote-ip\/","url":"https:\/\/www.dev.gb.net\/blog\/install-mod-remote-ip\/","name":"Install Mod Remote_IP to record the correct visitor address","isPartOf":{"@id":"https:\/\/www.dev.gb.net\/blog\/#website"},"datePublished":"2021-12-16T22:55:43+00:00","dateModified":"2021-12-16T22:56:34+00:00","description":"Because services like Cloudflare send their IP in the headers of traffic, WSC may record the wrong IP. Install Mod remote_ip to restore the","breadcrumb":{"@id":"https:\/\/www.dev.gb.net\/blog\/install-mod-remote-ip\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dev.gb.net\/blog\/install-mod-remote-ip\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dev.gb.net\/blog\/install-mod-remote-ip\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dev.gb.net\/blog\/"},{"@type":"ListItem","position":2,"name":"Install Mod Remote_IP to record the correct visitor address"}]},{"@type":"WebSite","@id":"https:\/\/www.dev.gb.net\/blog\/#website","url":"https:\/\/www.dev.gb.net\/blog\/","name":"Dev GB","description":"WHMCS Modules &amp; PHP Development","publisher":{"@id":"https:\/\/www.dev.gb.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dev.gb.net\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.dev.gb.net\/blog\/#organization","name":"DevGB","url":"https:\/\/www.dev.gb.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dev.gb.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.dev.gb.net\/blog\/wp-content\/uploads\/2021\/09\/logo-devgb-big.png","contentUrl":"https:\/\/www.dev.gb.net\/blog\/wp-content\/uploads\/2021\/09\/logo-devgb-big.png","width":423,"height":105,"caption":"DevGB"},"image":{"@id":"https:\/\/www.dev.gb.net\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.dev.gb.net\/blog\/#\/schema\/person\/e7be71eba15a20b6bf51f1569d6556fc","name":"DevGB","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dev.gb.net\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b84b670e62e0bd528777c508a89c3f775e9197de8481573ab9108b7148090566?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b84b670e62e0bd528777c508a89c3f775e9197de8481573ab9108b7148090566?s=96&r=g","caption":"DevGB"}}]}},"_links":{"self":[{"href":"https:\/\/www.dev.gb.net\/blog\/wp-json\/wp\/v2\/posts\/2675","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dev.gb.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dev.gb.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dev.gb.net\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dev.gb.net\/blog\/wp-json\/wp\/v2\/comments?post=2675"}],"version-history":[{"count":1,"href":"https:\/\/www.dev.gb.net\/blog\/wp-json\/wp\/v2\/posts\/2675\/revisions"}],"predecessor-version":[{"id":2680,"href":"https:\/\/www.dev.gb.net\/blog\/wp-json\/wp\/v2\/posts\/2675\/revisions\/2680"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dev.gb.net\/blog\/wp-json\/wp\/v2\/media\/2679"}],"wp:attachment":[{"href":"https:\/\/www.dev.gb.net\/blog\/wp-json\/wp\/v2\/media?parent=2675"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dev.gb.net\/blog\/wp-json\/wp\/v2\/categories?post=2675"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dev.gb.net\/blog\/wp-json\/wp\/v2\/tags?post=2675"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}