Block specific IP addresses or ranges from accessing your site
IP blocking allows you to deny specific IP addresses (or a range of IPs) from visiting your site.This can be found under Site settings by clicking the ‘Security’ menu option.You’ll see a list of existing IP blocks and their annotations. You can also edit or delete existing IP blocks.
Adding a new IP block
Click the ‘Add IP block’ button. You’ll be prompted to enter the IP you want to block, as well as an optional annotation.You can specify individual IPs or a range in CIDR notation.
A note on Cloudflare
If you use Cloudflare or another security service we will automatically detect the real visitor IP behind this service.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Prostack Cito","colors":{"primary":"#1C1F38","light":"#3B4063","dark":"#0F1120"},"logo":{"light":"/logo/logo.png","dark":"/logo/logo.png"},"favicon":"/logo/logo.png","appearance":{"default":"light"},"navbar":{"links":[{"href":"https://feedback.cito.prostack.uk/","label":"Feedback"}],"primary":{"type":"button","label":"Log into Cito","href":"https://cito.prostack.uk"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/prostackhost","x":"https://x.com/prostackhost"}},"integrations":{"telemetry":{"enabled":false}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"hasAudioNarration":false,"customDomains":[],"gitSource":{"type":"github","owner":"local","repo":"local","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"local","isBase":true},"buildId":"local","clientVersion":"0.0.4203"},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false,"isLoggedInCli":false,"mintExport":{}},"customCss":[{"filePath":"style.css","content":":root{--background: #f9f9f9 !important;--bg-background: #f9f9f9 !important;--background-light: 249 249 249 !important;--navbar-background: #f9f9f9 !important}html:not(.dark){background-color:#f9f9f9}html:not(.dark) body{background-color:#f9f9f9}html:not(.dark) #content-container{background-color:#f9f9f9}html:not(.dark) #navbar,html:not(.dark) nav,html:not(.dark) header,html:not(.dark) [class*=\"Navbar\"],html:not(.dark) [class*=\"navbar\"],html:not(.dark) [class*=\"Header\"],html:not(.dark) [class*=\"header\"],html:not(.dark) [class*=\"TopBar\"],html:not(.dark) [class*=\"topbar\"],html:not(.dark) [class*=\"nav-\"],html:not(.dark) [class*=\"scroll\"],html:not(.dark) [class*=\"sticky\"]{background-color:#f9f9f9!important;background:#f9f9f9!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}html:not(.dark) [class*=\"Navbar\"]::before,html:not(.dark) [class*=\"Navbar\"]::after,html:not(.dark) header::before,html:not(.dark) header::after,html:not(.dark) nav::before,html:not(.dark) nav::after{background-color:#f9f9f9!important;background:#f9f9f9!important}header a[href=\"/\"],[class*=\"Navbar\"] a[href=\"/\"]{display:inline-flex;align-items:center;gap:0.5rem}header a[href=\"/\"]::after,[class*=\"Navbar\"] a[href=\"/\"]::after{content:\"Cito Documentation\";font-weight:600;font-size:1.1rem;color:#1C1F38;white-space:nowrap}html.dark header a[href=\"/\"]::after,html.dark [class*=\"Navbar\"] a[href=\"/\"]::after{color:white}"}],"page":{"pagePath":"managing-sites/ip-blocking","slug":"/managing-sites/ip-blocking","pageMetadata":{"title":"IP Blocking","description":"Block specific IP addresses or ranges from accessing your site","href":"/managing-sites/ip-blocking"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Block specific IP addresses or ranges from accessing your site\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={img:`img`,p:`p`,..._provideComponents(),...props.components},{Heading}=_components;if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`IP blocking allows you to deny specific IP addresses (or a range of IPs) from visiting your site.`}),`\n`,_jsx(_components.p,{children:`This can be found under Site settings by clicking the ‘Security’ menu option.`}),`\n`,_jsx(_components.p,{children:`You’ll see a list of existing IP blocks and their annotations. You can also edit or delete existing IP blocks.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`/images/screenshots/ipblock-list.png`,alt:`IP Block List`})}),`\n`,_jsx(Heading,{level:`2`,id:`adding-a-new-ip-block`,children:`Adding a new IP block`}),`\n`,_jsx(_components.p,{children:`Click the ‘Add IP block’ button. You’ll be prompted to enter the IP you want to block, as well as an optional annotation.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`/images/screenshots/ipblock-add.png`,alt:`IP Block Add`})}),`\n`,_jsx(_components.p,{children:`You can specify individual IPs or a range in CIDR notation.`}),`\n`,_jsx(Heading,{level:`2`,id:`a-note-on-cloudflare`,children:`A note on Cloudflare`}),`\n`,_jsx(_components.p,{children:`If you use Cloudflare or another security service we will automatically detect the real visitor IP behind this service.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"IP Blocking","description":"Block specific IP addresses or ranges from accessing your site","href":"/managing-sites/ip-blocking"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Adding a new IP block","slug":"adding-a-new-ip-block","depth":2,"children":[]},{"title":"A note on Cloudflare","slug":"a-note-on-cloudflare","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"localhost","siteName":"Prostack Cito","title":"IP Blocking - Prostack Cito","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"managing-sites/ip-blocking.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Block specific IP addresses or ranges from accessing your site\">\u003cmeta data-mint-head name=\"application-name\" content=\"Prostack Cito\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/favicons/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicons/favicon-32x32.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicons/favicon-16x16.png\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/favicons/favicon.ico\">\u003cmeta data-mint-head property=\"og:title\" content=\"IP Blocking - Prostack Cito\">\u003cmeta data-mint-head property=\"og:description\" content=\"Block specific IP addresses or ranges from accessing your site\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Prostack Cito\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://local./managing-sites/ip-blocking\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"IP Blocking - Prostack Cito\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Block specific IP addresses or ranges from accessing your site\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/favicons/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Prostack Cito\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1C1F38\">\u003clink data-mint-head rel=\"canonical\" href=\"https://local./managing-sites/ip-blocking\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/managing-sites/ip-blocking.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Prostack Cito\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Prostack Cito\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/managing-sites/ip-blocking.md","siteName":"Prostack Cito","nav":{"groups":[{"group":"Home","pages":[{"title":"Introduction","href":"/index"}]},{"group":"Getting Started","pages":[{"title":"First Steps","href":"/getting-started/index"},{"title":"Generating SSH Keys","href":"/getting-started/ssh-keys"},{"title":"Migrating from another host","href":"/getting-started/migration"},{"title":"Frequently Asked Questions","href":"/getting-started/faq"}]},{"group":"Creating Sites","pages":[{"title":"Adding a New Site","href":"/creating-sites/overview"},{"title":"Installing WordPress","href":"/creating-sites/wordpress"},{"title":"NodeJS Applications","href":"/creating-sites/nodejs"},{"title":"Proxy Pass","href":"/creating-sites/proxy-pass"}]},{"group":"Containers","pages":[{"title":"Container Sites","href":"/creating-sites/docker"},{"title":"Importing from Docker Compose","href":"/creating-sites/docker-compose"},{"title":"Managing Containers","href":"/managing-sites/containers"},{"title":"Services","href":"/managing-sites/container-services"},{"title":"Converting a Proxy Pass Site","href":"/managing-sites/convert-proxy-site"},{"title":"Container Limits","href":"/managing-sites/container-limits"}]},{"group":"Managing Sites","pages":[{"title":"Sites Overview","href":"/managing-sites/overview"},{"title":"Changing PHP Versions","href":"/managing-sites/php-version"},{"title":"Custom Document Roots","href":"/managing-sites/document-root"},{"title":"Preview URLs","href":"/managing-sites/preview"},{"title":"Cloning Sites","href":"/managing-sites/clone"},{"title":"Renaming Sites","href":"/managing-sites/rename"},{"title":"Suspending Sites","href":"/managing-sites/suspend"},{"title":"Deleting Sites","href":"/managing-sites/delete"},{"title":".htaccess Import","href":"/managing-sites/htaccess-import"}]},{"group":"Domains, SSL \u0026 Email","pages":[{"title":"Aliases","href":"/managing-sites/aliases"},{"title":"Redirects","href":"/managing-sites/redirects"},{"title":"Domain Information","href":"/managing-sites/domain-information"},{"title":"SSL Certificates","href":"/cli/ssl"},{"title":"Email","href":"/managing-sites/email"}]},{"group":"Files \u0026 Databases","pages":[{"title":"File Manager","href":"/managing-sites/file-manager"},{"title":"Managing MySQL Databases","href":"/managing-sites/mysql"},{"title":"Database Ownership","href":"/managing-sites/database-ownership"},{"title":"Backups","href":"/managing-sites/backups"}]},{"group":"Security","pages":[{"title":"Password Protection","description":"Protect your Cito sites with HTTP Basic Auth","href":"/managing-sites/password-protection"},{"title":"IP Blocking","href":"/managing-sites/ip-blocking"},{"title":"Bot \u0026 Crawler Blocking","description":"Block bots, crawlers and scrapers from accessing your site by user-agent","href":"/managing-sites/bot-blocking"},{"title":"Firewall","href":"/managing-sites/firewall"},{"title":"Malware Protection","href":"/managing-sites/security"}]},{"group":"Performance \u0026 Monitoring","pages":[{"title":"Caching","href":"/managing-sites/caching"},{"title":"Analytics","href":"/managing-sites/analytics"},{"title":"Viewing Logs","href":"/managing-sites/logs"}]},{"group":"Deployment \u0026 Automation","pages":[{"title":"SSH","href":"/deploying/ssh"},{"title":"Working with Git","href":"/deploying/git"},{"title":"Cron Jobs","href":"/managing-sites/crons"},{"title":"MCP Server (beta)","href":"/deploying/mcp"}]},{"group":"Server Configuration","pages":[{"title":"Nginx","href":"/cli/nginx"},{"title":"PHP","href":"/cli/php"}]},{"group":"Account","pages":[{"title":"User Management","href":"/account/authentication"},{"title":"Audit Logs","href":"/account/audit-logs"}]},{"group":"Support","pages":[{"title":"Getting Support","href":"/support/contact"},{"title":"Changelog","href":"/support/changelog"}]}]},"basePath":"","title":"IP Blocking - Prostack Cito","buildId":"3fee6f877672","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-sgQzkCp-.js","lightbox-handle-r17bVUz3.js"]}