UFW (Uncomplicated Firewall) is a user-friendly interface for managing iptables firewall rules on Linux systems. It’s particularly well-suited for Debian and Ubuntu servers, providing a simplified way to configure your system’s firewall.
Reset UFW
Resetting UFW deletes configured rules and disables it. Use this only when deliberately rebuilding the firewall with console access available:
UFW provides a straightforward way to manage your firewall rules on Debian and Ubuntu systems. Remember to always configure SSH access before enabling the firewall, and regularly audit your rules to maintain security. For more advanced configurations, consult the UFW documentation.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"EDIS Global Docs","colors":{"primary":"#F96002","light":"#F96002","dark":"#d55200"},"logo":{"light":"https://mintcdn.com/edisglobal-b1e34a56/xtiEDsTPL8Ph089M/logo/light.svg?fit=max\u0026auto=format\u0026n=xtiEDsTPL8Ph089M\u0026q=85\u0026s=5e8f0b38c95369976ff43eed9ab906bf","dark":"https://mintcdn.com/edisglobal-b1e34a56/xtiEDsTPL8Ph089M/logo/dark.svg?fit=max\u0026auto=format\u0026n=xtiEDsTPL8Ph089M\u0026q=85\u0026s=e988a00463174b16649b5565b2443220"},"favicon":"https://mintcdn.com/edisglobal-b1e34a56/xtiEDsTPL8Ph089M/favicon.svg?fit=max\u0026auto=format\u0026n=xtiEDsTPL8Ph089M\u0026q=85\u0026s=a8ed964ff7aa69dc8e4e41e376d4647a","navbar":{"links":[{"href":"https://www.edisglobal.com/blog","label":"Blog"},{"href":"https://www.edisglobal.com/contact","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://manage.edisglobal.com/clientarea.php"}},"footer":{"socials":{"x":"https://x.com/edisat"}},"seo":{"indexing":"navigable"},"icons":{"library":"fontawesome"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"system","latex":true},"integrations":{"intercom":{"appId":"n4lbl81j"}},"contextual":{"options":["view","chatgpt","claude","perplexity","copy","assistant","grok","aistudio","windsurf"],"display":"header"},"metadata":{"timestamp":true},"navigation":{"languages":[{"language":"en","default":true,"href":"getting-started/everything-vps"},{"language":"ru","navbar":{"links":[{"href":"/getting-started/everything-vps","label":"Все статьи (English)"},{"href":"https://www.edisglobal.com/contact","label":"Поддержка"}],"primary":{"type":"button","label":"Личный кабинет","href":"https://manage.edisglobal.com/clientarea.php"}},"href":"ru/getting-started/everything-vps"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"edisglobal-b1e34a56","hasAudioNarration":false,"actualSubdomain":"edisglobal-b1e34a56","customDomains":["docs.edisglobal.com"],"gitSource":{"type":"github","owner":"gexpl0rer","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true,"agentFeedback":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aefa8b5d5518ba96e46f366","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"en","tag":"Documentation","count":180},{"language":"ru","tag":"Документация","count":180},{"language":"en","tag":"FAQ","count":86},{"language":"ru","tag":"Вопросы и ответы","count":86},{"language":"en","tag":"Advanced Setup Guides","count":39},{"language":"en","tag":"Management API Endpoints","count":39},{"language":"ru","tag":"Расширенные руководства по настройке","count":39},{"language":"en","tag":"Billing \u0026 Lifecycle","count":33},{"language":"ru","tag":"Оплата и управление услугами","count":33},{"language":"en","tag":"VPS Management","count":24},{"language":"ru","tag":"Управление VPS","count":24},{"language":"en","tag":"IP Addresses","count":22},{"language":"ru","tag":"IP-адреса","count":22},{"language":"en","tag":"Upgrades, Downgrades","count":13},{"language":"en","tag":"Order API Endpoints","count":13},{"language":"en","tag":"Order-API","count":13},{"language":"ru","tag":"Изменение тарифа и ресурсов","count":13},{"language":"ru","tag":"Начало работы","count":12},{"language":"ru","tag":"Дополнительные материалы","count":11},{"language":"ru","tag":"Трафик и пропускная способность","count":8}]},"assistantConfig":{"enableStarterQuestions":true,"deflection":{"enabled":true,"email":"support@edisglobal.com"}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[{"_id":"6a70aabd56fdf128789eb6d0","deploymentId":"677932f44b81021a9ae821f7","questionText":"How can I buy additional traffic?","status":"active","generatedBy":"manual","createdAt":"2026-08-03T14:50:37.639Z","updatedAt":"2026-08-03T14:50:37.639Z","__v":0}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":root{--brand-primary: #000;--brand-secondary: #5e5f6e;--brand-accent: #f96002;--brand-accent-dark: #d55200;--brand-accent-light: #ffd7bf;--brand-emphasis: #fafafa;--brand-border: #e9e9e9;--brand-error: #f73826;--brand-error--light: #ffc3bd;--brand-success: #089c05;--brand-success-light: #bcf6bb;--brand-disabled: #aaa8a8;--brand-gradient: linear-gradient(to bottom, #fa8837, #f96103);--brand-gradient-reverse: linear-gradient(to top, #fa8837, #f96103)}.custom-cta-button{background-color:var(--brand-accent);padding:5px 10px;border-radius:4px}.custom-cta-button:hover{background-color:var(--brand-accent-dark)}.custom-cta-button a{text-decoration:none;color:white;border:none}#navigation-items ul>li{margin-left:15px}#navigation-items ul>li>div.group{font-weight:700}"}],"page":{"pagePath":"advanced-setup-guides/basic-ufw-debian-ubuntu","slug":"/advanced-setup-guides/basic-ufw-debian-ubuntu","pageMetadata":{"title":"Basic UFW setup guide for Debian/Ubuntu","sidebarTitle":"UFW firewall setup","description":"Set up and configure UFW (Uncomplicated Firewall) on Debian and Ubuntu, covering basic commands, rule management, and firewall best practices.","href":"/advanced-setup-guides/basic-ufw-debian-ubuntu"},"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: \"Set up and configure UFW (Uncomplicated Firewall) on Debian and Ubuntu, covering basic commands, rule management, and firewall best practices.\"\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={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`introduction-to-ufw`,children:`Introduction to UFW`}),`\n`,_jsxs(_components.p,{children:[`UFW (Uncomplicated Firewall) is a user-friendly interface for managing `,_jsx(_components.code,{children:`iptables`}),` firewall rules on Linux systems. It’s particularly well-suited for Debian and Ubuntu servers, providing a simplified way to configure your system’s firewall.`]}),`\n`,_jsx(Heading,{level:`2`,id:`installation`,children:`Installation`}),`\n`,_jsx(_components.p,{children:`Install UFW using the following command:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` apt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` update`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` apt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`basic-ufw-commands`,children:`Basic UFW commands`}),`\n`,_jsx(Heading,{level:`3`,id:`check-ufw-status`,children:`Check UFW status`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` status`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`This command shows if UFW is active and lists all current rules.`}),`\n`,_jsx(_components.p,{children:`For a more detailed view, use:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` status`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` verbose`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`enable-and-disable-ufw`,children:`Enable and disable UFW`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Before enabling UFW, ensure you have configured rules to allow SSH access (port 22)\nto prevent being locked out of your server.`})}),`\n`,_jsxs(_components.p,{children:[`Allow your `,_jsx(_components.strong,{children:`actual SSH TCP port first`}),` (replace `,_jsx(_components.code,{children:`22`}),` if needed), then enable UFW:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` allow`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 22/tcp`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` enable`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`To disable UFW:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` disable`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`managing-basic-rules`,children:`Managing basic rules`}),`\n`,_jsx(Heading,{level:`3`,id:`allow-incoming-connections`,children:`Allow incoming connections`}),`\n`,_jsx(_components.p,{children:`Allow specific ports:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` allow`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 22`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Allow SSH`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` allow`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 80`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Allow HTTP`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` allow`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 443`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Allow HTTPS`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Allow specific services by name:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` allow`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ssh`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` allow`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` http`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` allow`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`After activation, verify a new SSH connection before closing your current session. See the `,_jsx(_components.a,{href:`/advanced-setup-guides/ufw-uncomplicated-firewall-howto`,children:`UFW walkthrough`}),` for a complete sequence.`]}),`\n`,_jsx(Heading,{level:`3`,id:`deny-incoming-connections`,children:`Deny incoming connections`}),`\n`,_jsx(_components.p,{children:`Deny specific ports:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` deny`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 23`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Deny Telnet`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`delete-rules`,children:`Delete rules`}),`\n`,_jsx(_components.p,{children:`Delete rules by number:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`List rules with numbers:`}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` status`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` numbered`})]}),`\n`]})})}),`\n`,_jsxs(_components.ol,{start:`2`,children:[`\n`,_jsx(_components.li,{children:`Delete a specific rule:`}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` delete`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [number]`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Delete rules by specification:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` delete`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` allow`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 80`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`advanced-configuration`,children:`Advanced configuration`}),`\n`,_jsx(Heading,{level:`3`,id:`allow-specific-ip-addresses`,children:`Allow specific IP addresses`}),`\n`,_jsx(_components.p,{children:`Allow a specific IP address:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` allow`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` from`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 203.0.113.4`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Allow an IP address to access a specific port:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` allow`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` from`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 203.0.113.4`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` to`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` any`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` port`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 22`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`configure-default-policies`,children:`Configure default policies`}),`\n`,_jsx(_components.p,{children:`Set default policies for incoming and outgoing traffic:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` default`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` deny`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` incoming`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` default`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` allow`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` outgoing`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`best-practices`,children:`Best practices`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always allow SSH first`}),`\nBefore enabling UFW, ensure SSH access is allowed:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` allow`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ssh`})]}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Use specific rules`}),`\nInstead of allowing all traffic to a port, specify the service and protocol:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` allow`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 80/tcp`})]}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Regular audits`}),`\nRegularly review your firewall rules:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` status`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` verbose`})]}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Back up rules`}),`\nBack up your UFW rules periodically:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cp`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -a`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /etc/ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /root/ufw-backup`})]}),`\n`]})})}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`common-configuration-examples`,children:`Common configuration examples`}),`\n`,_jsx(Heading,{level:`3`,id:`basic-web-server-setup`,children:`Basic web server setup`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Allow SSH, HTTP, and HTTPS`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` allow`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ssh`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` allow`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` http`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` allow`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`database-server-setup`,children:`Database server setup`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Allow MySQL/MariaDB from specific IP`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` allow`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` from`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 203.0.113.4`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` to`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` any`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` port`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 3306`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`rate-limiting`,children:`Rate limiting`}),`\n`,_jsx(_components.p,{children:`Enable rate limiting for SSH to prevent brute force attacks:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` limit`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ssh`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsx(_components.p,{children:`If you encounter issues:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Check UFW status`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` status`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` verbose`})]}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`View UFW logs`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tail`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /var/log/ufw.log`})]}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Reset UFW`}),`\nResetting UFW deletes configured rules and disables it. Use this only when deliberately rebuilding the firewall with console access available:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` reset`})]}),`\n`]})})}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`conclusion`,children:`Conclusion`}),`\n`,_jsxs(_components.p,{children:[`UFW provides a straightforward way to manage your firewall rules on Debian and Ubuntu systems. Remember to always configure SSH access before enabling the firewall, and regularly audit your rules to maintain security. For more advanced configurations, consult the `,_jsx(_components.a,{href:`https://help.ubuntu.com/community/UFW`,children:`UFW documentation`}),`.`]})]})}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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Basic UFW setup guide for Debian/Ubuntu","sidebarTitle":"UFW firewall setup","description":"Set up and configure UFW (Uncomplicated Firewall) on Debian and Ubuntu, covering basic commands, rule management, and firewall best practices.","href":"/advanced-setup-guides/basic-ufw-debian-ubuntu"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Introduction to UFW","slug":"introduction-to-ufw","depth":2,"children":[]},{"title":"Installation","slug":"installation","depth":2,"children":[]},{"title":"Basic UFW commands","slug":"basic-ufw-commands","depth":2,"children":[{"title":"Check UFW status","slug":"check-ufw-status","depth":3,"children":[]},{"title":"Enable and disable UFW","slug":"enable-and-disable-ufw","depth":3,"children":[]}]},{"title":"Managing basic rules","slug":"managing-basic-rules","depth":2,"children":[{"title":"Allow incoming connections","slug":"allow-incoming-connections","depth":3,"children":[]},{"title":"Deny incoming connections","slug":"deny-incoming-connections","depth":3,"children":[]},{"title":"Delete rules","slug":"delete-rules","depth":3,"children":[]}]},{"title":"Advanced configuration","slug":"advanced-configuration","depth":2,"children":[{"title":"Allow specific IP addresses","slug":"allow-specific-ip-addresses","depth":3,"children":[]},{"title":"Configure default policies","slug":"configure-default-policies","depth":3,"children":[]}]},{"title":"Best practices","slug":"best-practices","depth":2,"children":[]},{"title":"Common configuration examples","slug":"common-configuration-examples","depth":2,"children":[{"title":"Basic web server setup","slug":"basic-web-server-setup","depth":3,"children":[]},{"title":"Database server setup","slug":"database-server-setup","depth":3,"children":[]},{"title":"Rate limiting","slug":"rate-limiting","depth":3,"children":[]}]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]},{"title":"Conclusion","slug":"conclusion","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/edisglobal-b1e34a56/36a9e7f1c95b82ff/pages/api/download.js"],"subdomain":"edisglobal-b1e34a56","siteName":"EDIS Global Docs","title":"Basic UFW setup guide for Debian/Ubuntu - EDIS Global Docs","relatedPagesConfig":{"enabled":true,"limit":5,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/advanced-setup-guides/basic-ufw-debian-ubuntu","matchLevel":0},"ru":{"href":"/ru/getting-started/everything-vps","matchLevel":4}}},"lastModified":"2026-09-30T20:12:57.667Z","gitLastModified":"2026-09-30T20:12:44.000Z","originalFileLocation":"advanced-setup-guides/basic-ufw-debian-ubuntu.mdx","locale":"en"},"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=\"system\"}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=\"Set up and configure UFW (Uncomplicated Firewall) on Debian and Ubuntu, covering basic commands, rule management, and firewall best practices.\">\u003cmeta data-mint-head name=\"application-name\" content=\"EDIS Global Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Basic UFW setup guide for Debian/Ubuntu - EDIS Global Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Set up and configure UFW (Uncomplicated Firewall) on Debian and Ubuntu, covering basic commands, rule management, and firewall best practices.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"EDIS Global Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.edisglobal.com/advanced-setup-guides/basic-ufw-debian-ubuntu\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://edisglobal-b1e34a56.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Basic+UFW+setup+guide+for+Debian%2FUbuntu\u0026amp;description=Set+up+and+configure+UFW+%28Uncomplicated+Firewall%29+on+Debian+and+Ubuntu%2C+covering+basic+commands%2C+rule+management%2C+and+firewall+best+practices.\u0026amp;theme=9394e69de84003f3f01b8430\u0026amp;signature=961d544514e2a9ff5bf70111af3fbf6aff02cb8d79434908c6fec86a7e91fe40\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Basic UFW setup guide for Debian/Ubuntu - EDIS Global Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Set up and configure UFW (Uncomplicated Firewall) on Debian and Ubuntu, covering basic commands, rule management, and firewall best practices.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://edisglobal-b1e34a56.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Basic+UFW+setup+guide+for+Debian%2FUbuntu\u0026amp;description=Set+up+and+configure+UFW+%28Uncomplicated+Firewall%29+on+Debian+and+Ubuntu%2C+covering+basic+commands%2C+rule+management%2C+and+firewall+best+practices.\u0026amp;theme=9394e69de84003f3f01b8430\u0026amp;signature=961d544514e2a9ff5bf70111af3fbf6aff02cb8d79434908c6fec86a7e91fe40\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"EDIS Global Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F96002\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.edisglobal.com/advanced-setup-guides/basic-ufw-debian-ubuntu\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/advanced-setup-guides/basic-ufw-debian-ubuntu.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"EDIS Global Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"EDIS Global Docs","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"Documentation","groups":[{"group":"Getting Started","pages":[{"title":"Getting started with your VPS (setup, management \u0026 access)","sidebarTitle":"Getting started","href":"/getting-started/everything-vps"},{"title":"Everyday VPS tasks: OS, IPs, billing, upgrades, backups","sidebarTitle":"Common VPS tasks","href":"/getting-started/common-vps-tasks"},{"title":"Check your inbox","sidebarTitle":"Check your inbox","href":"/getting-started/check-your-inbox"},{"title":"Understanding EDIS Global email notifications","sidebarTitle":"Email notifications","href":"/getting-started/understanding-email-notifications"},{"title":"No email received?","sidebarTitle":"No email received?","href":"/getting-started/no-email-received"},{"title":"Subscribe to status updates","sidebarTitle":"Subscribe on Statuspage","href":"/getting-started/statuspage-subscribe"},{"title":"How EDIS Global support can help you","sidebarTitle":"Support overview","href":"/getting-started/how-our-support-team-helps-you"},{"title":"Linux Secure Shell (SSH)","sidebarTitle":"SSH guide","href":"/getting-started/linux-secure-shell-ssh"},{"title":"SSH security hardening guide","sidebarTitle":"SSH hardening","href":"/getting-started/ssh-security-hardening-guide"},{"title":"Windows Remote Desktop","sidebarTitle":"Remote Desktop (RDP)","href":"/getting-started/windows-remote-desktop"},{"title":"Backups","sidebarTitle":"Backup guide","href":"/getting-started/backups"},{"title":"Acceptable Use Policy (AUP)","sidebarTitle":"Usage policy (AUP)","href":"/getting-started/acceptable-use-policy"}]},{"group":"VPS Management","pages":[{"title":"API for VPS management and ordering","sidebarTitle":"API access","href":"/vps-management/api-for-management-and-ordering"},{"title":"EDIS Global VPS Management Portal","sidebarTitle":"VPS Management Portal","href":"/vps-management/vps-management-portal"},{"title":"Understanding your VPS status","sidebarTitle":"VPS status badges","href":"/vps-management/understanding-vps-status"},{"title":"Safe AI-assisted VPS management: setup and log analysis","sidebarTitle":"AI-assisted VPS management","href":"/vps-management/ai-assisted-vps-management"},{"title":"Reinstall your VPS (Linux or Windows)","sidebarTitle":"Reinstall VPS","href":"/vps-management/autoinstall-reinstall-install-vps-linux-windows"},{"title":"Operating systems availability on EDIS Global","sidebarTitle":"Available OS images","href":"/vps-management/os-availability"},{"title":"Cloud-Init based VPS installation","sidebarTitle":"Cloud-Init","href":"/vps-management/edis-cloud-init-vps-installation"},{"title":"Restart or power cycle your VPS","sidebarTitle":"Reboot VPS","href":"/vps-management/power-cycle-or-reboot-a-vps"},{"title":"How to reset Linux root password","sidebarTitle":"Reset Linux password","href":"/vps-management/reset-root-password-linux"},{"title":"How to reset Windows Administrator password","sidebarTitle":"Reset Windows password","href":"/vps-management/reset-windows-admin-password"},{"title":"RDP error 0xd07: user account locked","sidebarTitle":"RDP error 0xd07","href":"/vps-management/rdp-error-0xd07-user-account-locked"},{"title":"Mount an ISO image","sidebarTitle":"Mount ISO","href":"/vps-management/mount-iso-image"},{"title":"Post-install scripts (deprecated)","href":"/vps-management/post-install-scripts"},{"title":"System Configuration dialog for EDIS Global VPS","sidebarTitle":"System Configuration","href":"/vps-management/system-configuration-dialog"},{"title":"Upload a custom ISO image","sidebarTitle":"Upload custom ISO","href":"/vps-management/bring-your-own-iso"},{"title":"Enable VNC on your VPS","sidebarTitle":"VPS VNC access","href":"/vps-management/enable-vnc-server"},{"title":"VPS IP address settings \u0026 network info","sidebarTitle":"VPS IP settings","href":"/vps-management/ip-address-information"},{"title":"How to configure IPv6 on your VPS","sidebarTitle":"IPv6 setup","href":"/vps-management/ipv6-configuration"},{"title":"IPv6 troubleshooting","href":"/vps-management/basic-ipv6-troubleshooting"},{"title":"How to change IP address in Ubuntu VPS (18.04–24.04)","sidebarTitle":"Change IP (Ubuntu)","href":"/vps-management/manually-change-the-ip-address-in-ubuntu-versions-1804-to-2404"},{"title":"How to change IP address in Windows Server","sidebarTitle":"Change IP (Windows)","href":"/vps-management/how-to-change-ip-address-in-windows-server"},{"title":"Linux rescue CD guide: fix network, firewall, and SSH issues","sidebarTitle":"Rescue CD troubleshooting","href":"/vps-management/linux-rescue-guide-and-troubleshoot"},{"title":"UEFI vs BIOS and vTPM in EDIS Global VPS","sidebarTitle":"UEFI, BIOS \u0026 vTPM","href":"/vps-management/uefi-vs-bios-and-v-tpm"},{"title":"How to find and use your EDIS Global Support PIN","sidebarTitle":"Support PIN","href":"/vps-management/your-support-pin"}]},{"group":"FAQ","pages":[{"title":"Data Processing Agreement (DPA)","sidebarTitle":"Data Processing Agreement","href":"/faq/data-processing-agreement"},{"title":"What is a virtual private server (VPS)?","sidebarTitle":"What is a VPS?","href":"/faq/what-is-a-virtual-private-server"},{"title":"What is a KVM VPS?","sidebarTitle":"KVM VPS explained","href":"/faq/what-is-a-kvm-vps"},{"title":"Free VPS trials at EDIS Global?","sidebarTitle":"Free VPS trial policy","href":"/faq/free-trials-available"},{"title":"Port 25 SMTP policy and rate limits","sidebarTitle":"Port 25 policy","href":"/faq/port-25-smtp-rate-limit-policy"},{"title":"Windows RDP on EDIS Global VPS – fast setup in 15 minutes","sidebarTitle":"Windows RDP setup (15 min)","href":"/faq/windows-rdp-service-available"},{"title":"Desktop acceleration","sidebarTitle":"Desktop acceleration","href":"/faq/desktop-acceleration"},{"title":"Are hourly VPS plans available?","sidebarTitle":"Hourly VPS plans","href":"/faq/hourly-plans-available"},{"group":"IP Addresses","icon":"chart-network","pages":[{"title":"IPv4 ping test utility","href":"/faq/ip-addresses/ping-test-ip"},{"title":"How to use the EDIS Global Free Latency Test","sidebarTitle":"Free Latency Test","href":"/faq/ip-addresses/free-latency-test-guide"},{"title":"Change IP address","href":"/faq/ip-addresses/change-ip-address"},{"title":"Order additional IP address","sidebarTitle":"Additional IP (random)","href":"/faq/ip-addresses/order-additional-ip-address"},{"title":"Order your bespoke IPv4 address","sidebarTitle":"Bespoke IP address","href":"/faq/ip-addresses/order-bespoke-ip-address"},{"title":"Configure additional IP on a Linux VPS","href":"/faq/ip-addresses/configuring-additional-ip-address-linux"},{"title":"Setting up reverse pointers","href":"/faq/ip-addresses/setting-up-reverse-pointers"},{"title":"Will IP addresses change during upgrade or reinstall?","href":"/faq/ip-addresses/do-ip-addresses-change-during-upgrade-or-reinstall"},{"title":"IP address cannot be reached from my country","href":"/faq/ip-addresses/ip-can-not-be-reached-from-my-country"},{"title":"Geolocation \u0026 GeoIP databases","href":"/faq/ip-addresses/geolocation-geoip-databases"},{"title":"IP location incorrect on WhatIsMyIPAddress.com","href":"/faq/ip-addresses/ip-location-incorrect-on-whatismyipaddresscom"},{"title":"DNS leak tests and anycast DNS on EDIS Global VPS","sidebarTitle":"DNS leak tests","href":"/faq/ip-addresses/dns-leak-tests"},{"title":"IP from another country","href":"/faq/ip-addresses/understanding-ip-address-location"},{"title":"Understanding reverse DNS location vs VPS location","href":"/faq/ip-addresses/anycast-reverse-dns-nameserver-locations-vs-vps-location"},{"title":"Static IP addresses","href":"/faq/ip-addresses/static-ip-addresses"},{"title":"Bring your own IPv4 /24 (BYOIP)","href":"/faq/ip-addresses/bring-your-own-ipv4-prefix"},{"title":"IP spoofing: EDIS Global's strict stance","href":"/faq/ip-addresses/is-ip-spoofing-allowed-edis-global-stance"},{"title":"Network is down (Linux server)","href":"/faq/ip-addresses/network-is-down"},{"title":"Understanding packet loss in traceroute \u0026 MTR","sidebarTitle":"Packet loss","icon":"head-side-brain","href":"/faq/ip-addresses/understanding-packet-loss-in-mtr-traceroute"},{"title":"Debugging packet loss","href":"/faq/ip-addresses/debugging-packet-loss-traceroute-mtr-windows"},{"title":"How to use ping.pe to check connectivity and packet loss","sidebarTitle":"How to use ping.pe","href":"/faq/ip-addresses/ping-pe-connectivity-check"},{"title":"Incoming and outgoing ports on EDIS Global VPS","sidebarTitle":"Ports \u0026 firewalls","href":"/faq/ip-addresses/ports-firewalls-and-connectivity"}]},{"group":"Server Locations","icon":"globe","pages":[{"title":"List of EDIS Global VPS hosting locations worldwide","sidebarTitle":"Server locations","href":"/faq/server-locations/list-of-edis-global-server-locations-by-continent-region"},{"title":"How to change VPS server location","sidebarTitle":"Change server location","href":"/faq/server-locations/change-server-location"}]},{"group":"Billing \u0026 Lifecycle","icon":"money-bill-1-wave","pages":[{"title":"Automated payments","sidebarTitle":"Automated payments","href":"/faq/billing-lifecycle/automated-payments"},{"title":"From chaotic payments to automated payments","sidebarTitle":"Payments transitions","href":"/faq/billing-lifecycle/payments-transitions"},{"title":"How to pay invoices with account credit","sidebarTitle":"Credit balance payments","href":"/faq/billing-lifecycle/pay-invoices-from-credit-balance"},{"title":"How to top up your account credit","sidebarTitle":"Top up account credit","href":"/faq/billing-lifecycle/how-to-add-account-credit"},{"title":"Incoming and outgoing payments","sidebarTitle":"Payment use and verification","href":"/faq/billing-lifecycle/incoming-and-outgoing-payments"},{"title":"Top up credit balance by bank transfer","sidebarTitle":"Top up with bank transfer","href":"/faq/billing-lifecycle/top-up-credit-balance-by-bank-transfer"},{"title":"No upfront deposits required","sidebarTitle":"Upfront deposits","href":"/faq/billing-lifecycle/no-upfront-deposits-required"},{"title":"Why can't I change the country in my client account?","sidebarTitle":"Billing country change","href":"/faq/billing-lifecycle/country-change-client-account"},{"title":"Moving (transferring) services to a different client account","sidebarTitle":"Transferring services","href":"/faq/billing-lifecycle/moving-services-to-different-client-account"},{"title":"How VPS renewals work","sidebarTitle":"How VPS renewals work","href":"/faq/billing-lifecycle/how-vps-renewals-work"},{"title":"Accidental renewal: convert payment to account credit","sidebarTitle":"Accidental renewal \u0026 charges","href":"/faq/billing-lifecycle/accidental-renewal-convert-payment-to-credit"},{"title":"Accepted payment methods","sidebarTitle":"Payment methods","href":"/faq/billing-lifecycle/accepted-payment-methods"},{"title":"Pay with cryptocurrency","sidebarTitle":"Cryptocurrency payments","href":"/faq/billing-lifecycle/cryptocurrency-payments"},{"title":"Currency conversion for payments at EDIS Global","sidebarTitle":"Currency conversion","href":"/faq/billing-lifecycle/automatic-currency-conversion"},{"title":"Blockchain confirmations for cryptocurrency payments","sidebarTitle":"Blockchain confirmations","href":"/faq/billing-lifecycle/cryptocurrency-payments-confirmation-guide-edis-global"},{"title":"How long does it take to receive VPS credentials?","sidebarTitle":"Instant delivery","href":"/faq/billing-lifecycle/how-fast-instant-delivery"},{"title":"VPS cancellation","sidebarTitle":"Cancel a VPS","href":"/faq/billing-lifecycle/cancel-a-service"},{"title":"Manage VPS cancellation requests","sidebarTitle":"Manage cancellations","href":"/faq/billing-lifecycle/manage-cancellation-requests"},{"title":"Data retention policy at EDIS Global","sidebarTitle":"Data retention periods","href":"/faq/billing-lifecycle/data-retention-period"},{"title":"Cancellation and refund policy","sidebarTitle":"Refund policy","href":"/faq/billing-lifecycle/cancellation-and-refund-policy"},{"title":"Can I get a refund?","href":"/faq/billing-lifecycle/can-i-get-a-refund"},{"title":"Credit card reservation vs. captured payment","sidebarTitle":"Reservation vs capture","href":"/faq/billing-lifecycle/credit-card-reservation-vs-payment"},{"title":"VPS billing workflow","href":"/faq/billing-lifecycle/automated-vps-billing-workflow"},{"title":"Scheduled billing window","sidebarTitle":"Scheduled billing window","href":"/faq/billing-lifecycle/scheduled-billing-window"},{"title":"Opting for a monthly consolidated invoice","sidebarTitle":"Consolidated invoices","href":"/faq/billing-lifecycle/how-to-receive-monthly-consolidated-invoice"},{"title":"EU VAT explained","href":"/faq/billing-lifecycle/eu-vat-explained-if-and-how-much"},{"title":"Can I pay with IBAN?","href":"/faq/billing-lifecycle/can-i-pay-with-iban"},{"title":"How to find and download your invoices","sidebarTitle":"Download invoices","href":"/faq/billing-lifecycle/find-and-download-invoices"},{"title":"How to pay in EUR when PayPal balance is in another currency","href":"/faq/billing-lifecycle/how-to-pay-paypal-use-different-currency"},{"title":"Receive invoices to a different email address","href":"/faq/billing-lifecycle/add-contact-receive-invoices-different-email"},{"title":"Cancel a PayPal subscription in your PayPal account","href":"/faq/billing-lifecycle/how-to-locate-and-cancel-a-subscription-in-your-paypal-account"},{"title":"Cryptocurrency payment help","sidebarTitle":"Crypto payment help","href":"/faq/billing-lifecycle/cryptocurrency-payment-help"},{"title":"Reset 2FA for your EDIS Global account","sidebarTitle":"Reset 2FA","href":"/faq/billing-lifecycle/reset-2fa"}]},{"group":"Traffic (bandwidth)","icon":"display-chart-up","pages":[{"title":"Traffic vs bandwidth","href":"/faq/traffic-bandwidth/traffic-vs-bandwidth"},{"title":"VPS traffic stats, metering and monthly refills explained","href":"/faq/traffic-bandwidth/traffic-stats-refill-explained"},{"title":"Global Traffic Pool: One pool. One global price.","sidebarTitle":"Traffic Pool \u0026 Auto-Hydration","href":"/faq/traffic-bandwidth/traffic-pool"},{"title":"Running a speed test on EDIS Global VPS","sidebarTitle":"Speedtest","href":"/faq/traffic-bandwidth/speed-test"},{"title":"How to investigate and stop unusual network usage on Linux","sidebarTitle":"Detect unusual network usage","href":"/faq/traffic-bandwidth/how-to-investigate-and-stop-unusual-network-usage"},{"title":"Exceeding your monthly traffic limit","sidebarTitle":"Exceeding traffic limit","href":"/faq/traffic-bandwidth/exceeding-monthly-traffic-limit-edis-global"},{"group":"DOS Attacks","pages":[{"title":"EDIS Global's DDoS protection","sidebarTitle":"DOS protection","href":"/faq/traffic-bandwidth/dos-attacks/edis-global-ddos-protection-overview"},{"title":"Advisory notice: clients at high risk of DDoS attacks","sidebarTitle":"High-risk advisory","href":"/faq/traffic-bandwidth/dos-attacks/advisory-for-high-risk-clients"}]}]},{"group":"Upgrades, Downgrades","icon":"gear","pages":[{"title":"How to upgrade your EDIS Global VPS","sidebarTitle":"VPS upgrades","href":"/faq/upgrades-downgrades/upgrades"},{"title":"Upgrade to a higher VPS plan","sidebarTitle":"Upgrade plan","href":"/faq/upgrades-downgrades/upgrade-plan"},{"title":"Upgrade RAM, vCPU, disk or IP on your VPS","sidebarTitle":"Upgrade resources","href":"/faq/upgrades-downgrades/upgrade-resources"},{"title":"How to upgrade your VPS drive","sidebarTitle":"Drive Boost","href":"/faq/upgrades-downgrades/upgrade-disk-drive-boost"},{"title":"Will I lose data when I upgrade?","href":"/faq/upgrades-downgrades/will-i-lose-data-when-i-upgrade"},{"title":"Is it possible to downgrade?","sidebarTitle":"Downgrades","href":"/faq/upgrades-downgrades/is-it-possible-to-downgrade"},{"title":"Backup and restore data on Linux","href":"/faq/upgrades-downgrades/backup-restore-data-linux"},{"title":"Requesting a downloadable .qcow2 image backup","sidebarTitle":".qcow2 image backup","href":"/faq/upgrades-downgrades/requesting-qcow2-image-backup"},{"title":"Private VLAN Option at EDIS Global","sidebarTitle":"Private VLAN","href":"/faq/upgrades-downgrades/private-vlan-option"},{"title":"How to add a second NIC to your VPS","sidebarTitle":"Secondary NIC","href":"/faq/upgrades-downgrades/get-additional-network-card"},{"group":"CPU Resources in VPS","pages":[{"title":"CPU cores vs. CPU sockets in VPS environments","sidebarTitle":"Understanding CPU cores vs. sockets","href":"/faq/upgrades-downgrades/cpu-cores-vs-cpu-sockets-in-vps-environments/understanding-cpu-cores-vs-sockets-in-vps"},{"title":"How to check CPU cores on a Linux VPS","sidebarTitle":"Check CPU cores on Linux","href":"/faq/upgrades-downgrades/cpu-cores-vs-cpu-sockets-in-vps-environments/how-to-check-cpu-cores-linux-vps"},{"title":"How to check CPU cores on a Windows VPS","sidebarTitle":"Check CPU cores on Windows","href":"/faq/upgrades-downgrades/cpu-cores-vs-cpu-sockets-in-vps-environments/how-to-check-cpu-cores-windows-vps"}]}]}]},{"group":"Providers \u0026 Resellers","pages":[{"title":"EDIS Global partner starter pack","sidebarTitle":"Partner starter pack","href":"/partner-starter-pack"},{"title":"Hosting a commercial VPN service","sidebarTitle":"Commercial VPN hosting","href":"/commercial-vpn-hosting"},{"title":"Reselling EDIS Global VPS","sidebarTitle":"Reselling \u0026 discounts","href":"/reselling-and-discounts"}]},{"group":"Abuse and Complaints","pages":[{"title":"Reporting abuse","href":"/reporting-abuse"},{"title":"How to react when receiving an abuse message","sidebarTitle":"Responding to abuse","href":"/responding-to-abuse-complaints"}]},{"group":"Join Our Team","pages":[{"title":"Support Agent (non-voice)","sidebarTitle":"Support Agent","href":"/join-our-team/jobs-edisglobal-support-agent-non-voice"},{"title":"Technical Procurement \u0026 Server Operations Coordinator","href":"/join-our-team/technical-procurement-and-server-operations-coordinator"},{"title":"Senior Linux Systems Engineer (KVM \u0026 Hosting Expert)","href":"/join-our-team/senior-linux-systems-engineer-kvm-and-hosting-expert"}]},{"group":"Advanced Setup Guides","pages":[{"title":"Run a Monero node on a Debian 13 VPS","sidebarTitle":"Run a Monero node","href":"/advanced-setup-guides/run-monero-node-debian-vps"},{"group":"File Transfer Methods","pages":[{"title":"File transfer methods for Linux and Windows","sidebarTitle":"Methods overview","href":"/advanced-setup-guides/file-transfer-methods-for-linux-and-windows/file-transfer-methods"},{"title":"Connect to FTP on Windows Server","sidebarTitle":"FTP on Windows","href":"/advanced-setup-guides/file-transfer-methods-for-linux-and-windows/setup-ftp-windows-server"},{"title":"SFTP on Windows connects to Linux server","sidebarTitle":"SFTP on Windows","href":"/advanced-setup-guides/file-transfer-methods-for-linux-and-windows/transfer-files-sftp-windows"},{"title":"SCP on Windows connects to Linux server","sidebarTitle":"SCP on Windows","href":"/advanced-setup-guides/file-transfer-methods-for-linux-and-windows/copy-files-scp-windows"},{"title":"SFTP on Linux connects to Linux server","sidebarTitle":"SFTP on Linux","href":"/advanced-setup-guides/file-transfer-methods-for-linux-and-windows/transfer-files-sftp-linux"},{"title":"SCP on Linux connects to Linux server","sidebarTitle":"SCP on Linux","href":"/advanced-setup-guides/file-transfer-methods-for-linux-and-windows/copy-files-scp-linux"}]},{"title":"Automatic installation of MikroTik RouterOS (MikroTik CHR)","sidebarTitle":"Install MikroTik CHR RouterOS","href":"/advanced-setup-guides/script-based-mikrotik-router-os-installation-guide-winbox"},{"title":"MikroTik 6to4 tunnel configuration guide (router-to-router)","sidebarTitle":"MikroTik 6to4 tunnel","href":"/advanced-setup-guides/mikrotik-6to4-tunnel-configuration-guide-router-to-router"},{"title":"Manual MikroTik RouterOS installation on EDIS Global VPS","sidebarTitle":"Install MikroTik manually","href":"/advanced-setup-guides/install-mikrotik-routeros-on-edis-vps"},{"title":"Install a VPS with a Cloud-Init qcow2 image","sidebarTitle":"Cloud-Init setup","href":"/advanced-setup-guides/installing-a-vps-using-cloud-init"},{"title":"Resize Linux disk after a VPS upgrade","sidebarTitle":"Resize Linux disk/partition","href":"/advanced-setup-guides/manually-resize-disk-after-plan-upgrade-on-live-linux-systems"},{"title":"How to extend hard drive in Windows","sidebarTitle":"Extend Windows hard drive","href":"/advanced-setup-guides/extend-hard-drive-windows-guide"},{"group":"Security Advisories","pages":[{"title":"RegreSSHion OpenSSH vulnerability","href":"/advanced-setup-guides/security-advisories/regresshion-openssh-vulnerability"},{"title":"How to update SSHD on Debian, Ubuntu, and Red Hat Linux","href":"/advanced-setup-guides/security-advisories/update-sshd-debian-ubuntu-redhat"}]},{"title":"Registering and assigning a domain to your KVM VPS","sidebarTitle":"Point domain to KVM VPS","href":"/advanced-setup-guides/registering-and-assigning-a-domain-to-your-vps"},{"title":"Installing Apache, MySQL, PHP, and SSL on Linux VPS","sidebarTitle":"Install LAMP stack on Linux","href":"/advanced-setup-guides/installing-apache-mysql-php-letsencrypt-certbot-linux-vps"},{"title":"How to set up OpenVPN over Stunnel","href":"/advanced-setup-guides/openvpn-over-stunnel"},{"title":"L2TP/IPsec and IKEv2 VPN","sidebarTitle":"L2TP/IPsec \u0026 IKEv2 VPN","href":"/advanced-setup-guides/l2tp-ipsec-and-ikev2-vpn"},{"group":"Install AmneziaWG on Ubuntu 22.04","pages":[{"title":"Install AmneziaWG on Ubuntu 22.04","sidebarTitle":"Install AmneziaWG on Ubuntu","href":"/advanced-setup-guides/install-amneziawg-on-ubuntu-22_04/install-amneziawg-on-ubuntu-2204"},{"title":"Install AmneziaWG on Keenetic router","href":"/advanced-setup-guides/install-amneziawg-on-ubuntu-22_04/install-amneziawg-on-keenetic-router"},{"title":"Connect Ubuntu 22.04 WireGuard client to AmneziaWG","href":"/advanced-setup-guides/install-amneziawg-on-ubuntu-22_04/install-wireguard-client-on-ubuntu-2204-and-connecting-to-the-server-using-amneziawg"},{"title":"Install AmneziaWG client on Windows","href":"/advanced-setup-guides/install-amneziawg-on-ubuntu-22_04/install-amneziawg-client-on-windows"}]},{"group":"Install 3x-ui on VPS","pages":[{"title":"Install the 3x-ui VLESS proxy panel on Ubuntu 22.04","sidebarTitle":"Install 3x-ui on Ubuntu 22.04","href":"/advanced-setup-guides/install-3x-ui-on-vps/install-3x-ui-on-ubuntu-2204"},{"title":"Hiddify client for Windows","sidebarTitle":"Hiddify client for Windows","href":"/advanced-setup-guides/install-3x-ui-on-vps/hiddify-client-for-windows"},{"title":"v2rayNG VPN client on Android","sidebarTitle":"v2rayNG VPN client on Android","href":"/advanced-setup-guides/install-3x-ui-on-vps/v2rayng-vpn-client-on-android"},{"title":"v2RayTun VPN client on iOS","sidebarTitle":"v2RayTun VPN client on iOS","href":"/advanced-setup-guides/install-3x-ui-on-vps/v2raytun-vpn-client-on-ios"}]},{"title":"How to install Google Chrome on Windows Server","sidebarTitle":"Install Chrome on Windows Server","href":"/advanced-setup-guides/how-to-install-google-chrome-on-windows-server"},{"title":"How to reset Administrator password on Windows Server","sidebarTitle":"Reset Windows password (generic, classic)","href":"/advanced-setup-guides/forgot-administrator-password-on-windows-server"},{"title":"Forgot Linux root password","sidebarTitle":"Reset Linux root password (single-user mode)","href":"/advanced-setup-guides/forgot-root-password-set-pwd-in-single-user-mode"},{"title":"How to install LAMP with PostgreSQL and PostGIS","href":"/advanced-setup-guides/install-lamp-postgresql-postgis-edis-global-vps"},{"title":"GUI versions of Ubuntu or Debian","href":"/advanced-setup-guides/gui-versions-of-ubuntu-debian"},{"title":"Install Jitsi on your VPS","href":"/advanced-setup-guides/install-jitsi-on-your-vps"},{"title":"How to set up WireGuard VPN","href":"/advanced-setup-guides/how-to-setup-wireguard-vpn"},{"title":"Install Cockpit on a Debian 13 VPS for web management","sidebarTitle":"Install Cockpit on VPS","href":"/advanced-setup-guides/install-cockpit-on-vps"},{"title":"Turnkey images for OpenVPN on EDIS VPS (deprecated)","href":"/advanced-setup-guides/installing-openvpn-with-turnkey"},{"title":"UFW (Uncomplicated Firewall)","href":"/advanced-setup-guides/ufw-uncomplicated-firewall-howto"},{"title":"nftables firewall","href":"/advanced-setup-guides/nftables-firewall-howto"},{"title":"Install OpenClaw on an EDIS Global VPS","sidebarTitle":"Install OpenClaw","href":"/advanced-setup-guides/install-openclaw-edislobal-vps"}]},{"group":"Misc","pages":[{"title":"Extending the 180-day Windows trial period","href":"/misc/extending-180-day-trial-version-of-windows"},{"title":"Fix OpenSSH delays on VMs caused by low entropy","sidebarTitle":"Fix OpenSSH delays (entropy)","href":"/misc/fix-openssh-vm-delays-low-entropy"},{"title":"Security, compliance \u0026 certifications","sidebarTitle":"Security \u0026 compliance","href":"/misc/security-compliance"},{"title":"Fix black screen when connecting to Windows Server","href":"/misc/fix-black-screen-windows-server"},{"title":"Check and optimize Windows Server on VPS","sidebarTitle":"Windows Server slow","href":"/misc/why-has-windows-server-slowed-down"},{"title":"VNC Viewer (RealVNC) closes after connecting to VNC server","href":"/misc/fix-for-realvnc-closing-connection"},{"title":"Manual Windows Server installation on EDIS KVM","href":"/misc/manual-windows-server-installation-on-kvm"},{"title":"Fix Remote Desktop CredSSP encryption oracle remediation","href":"/misc/fix-remote-desktop-credssp-encryption-oracle-remediation-error"},{"title":"What is SeaBIOS on an EDIS Global VPS","sidebarTitle":"SeaBIOS","href":"/misc/what-is-seabios"},{"title":"Disable serial-getty@ttyS0 on Debian 13 (fix log spam)","sidebarTitle":"Disable ttyS0 logging","href":"/misc/disable-serial-getty-ttys0-debian-13"},{"title":"VPS management buttons are greyed out or not loading","sidebarTitle":"Portal buttons not loading","href":"/misc/portal-buttons-not-loading"}]}]},{"tab":"Order API Endpoints","groups":[{"group":"Order-API","pages":[{"title":"Order API endpoints for automating VPS provisioning","sidebarTitle":"Order API overview","href":"/order-api-reference/order-api-welcome"},{"title":"Order a VPS with the EDIS Global API (complete guide)","sidebarTitle":"Order API complete guide","href":"/order-api-reference/order-api"},{"openapi":"post /kvm/v2/add/order","title":"Order VPS","sidebarTitle":"Order VPS","href":"/order-api-reference/order-vps"},{"openapi":"post /kvm/v2/add/upgrade","title":"Upgrade VPS","sidebarTitle":"Upgrade VPS","href":"/order-api-reference/upgrade-vps"},{"openapi":"post /kvm/v2/get/products","title":"Look up available VPS plans","sidebarTitle":"Get VPS plans","href":"/order-api-reference/get-vps-plans"},{"openapi":"post /kvm/v2/get/locations","title":"Look up available VPS locations","sidebarTitle":"Get VPS locations","href":"/order-api-reference/get-vps-locations"},{"openapi":"post /kvm/v2/get/billingcycles","title":"Look up available billing cycles","sidebarTitle":"Get billing cycles","href":"/order-api-reference/get-billing-cycles"},{"openapi":"post /kvm/v2/get/services","title":"Get services","sidebarTitle":"Get services","href":"/order-api-reference/get-services"},{"openapi":"post /kvm/v2/get/paymentmethods","title":"Look up available payment methods","sidebarTitle":"Get payment methods","href":"/order-api-reference/get-payment-options"},{"openapi":"post /kvm/v2/get/account-balance","title":"Check the account balance","sidebarTitle":"Get account balance","href":"/order-api-reference/get-accountbalance"},{"openapi":"post /kvm/v2/get/serviceid","title":"Look up service ID from KVM_ID","sidebarTitle":"Get service ID","href":"/order-api-reference/get-service-id"},{"openapi":"post /kvm/v2/get/kvmid","title":"Look up KVM_ID from service ID","sidebarTitle":"Get KVM_ID","href":"/order-api-reference/get-kvm-id"},{"openapi":"post /kvm/v2/cancel/product","title":"Cancel VPS","sidebarTitle":"Cancel VPS","href":"/order-api-reference/cancel-vps"}]}]},{"tab":"Management API Endpoints","pages":[{"title":"How to use the EDIS Global Management API","sidebarTitle":"Management API guide","href":"/management-api"},{"group":"Authentication","pages":[{"openapi":"post /kvm/v2/get/auth","title":"Create auth session","sidebarTitle":"Create auth session","href":"/management-api-reference/authentication/create-auth-session"}]},{"group":"Power Management","pages":[{"openapi":"post /kvm/v2/set/reset","title":"Hard reset","sidebarTitle":"Hard reset","href":"/management-api-reference/power-management/hard-reset"},{"openapi":"post /kvm/v2/set/soft_reset","title":"Soft reset","sidebarTitle":"Soft reset","href":"/management-api-reference/power-management/soft-reset"},{"openapi":"post /kvm/v2/get/power","title":"Power state","sidebarTitle":"Power state","href":"/management-api-reference/power-management/power-state"},{"openapi":"post /kvm/v2/set/poweron","title":"Power on","sidebarTitle":"Power on","href":"/management-api-reference/power-management/power-on"},{"openapi":"post /kvm/v2/set/poweroff","title":"Power off","sidebarTitle":"Power off","href":"/management-api-reference/power-management/power-off"}]},{"group":"Installation","pages":[{"openapi":"post /kvm/v2/get/isos","title":"ISO images","sidebarTitle":"ISO images","href":"/management-api-reference/installation/iso-installation"},{"openapi":"post /kvm/v2/set/reinstall","title":"Reinstall","sidebarTitle":"Reinstall","href":"/management-api-reference/installation/reinstall"},{"openapi":"post /kvm/v2/set/mount","title":"Mount ISO","sidebarTitle":"Mount ISO","href":"/management-api-reference/installation/mount-iso"},{"openapi":"post /kvm/v2/set/umount","title":"Umount ISO","sidebarTitle":"Umount ISO","href":"/management-api-reference/installation/unmount-iso"},{"openapi":"post /kvm/v2/set/download_iso","title":"Custom ISO","sidebarTitle":"Custom ISO","href":"/management-api-reference/installation/download-custom-iso"},{"openapi":"post /kvm/v2/upload_qcow2","title":"Replace qcow2","sidebarTitle":"Replace qcow2","href":"/management-api-reference/installation/upload-and-replace-qcow2"},{"openapi":"post /kvm/v2/get/images","title":"Auto images","sidebarTitle":"Auto images","href":"/management-api-reference/installation/get-autoinstall-images"}]},{"group":"Traffic Pool","pages":[{"openapi":"post /kvm/v2/set/autohydration_enable","title":"Enable auto-hydration","sidebarTitle":"Enable hydration","href":"/management-api-reference/traffic-pool/enable-auto-hydration"},{"openapi":"post /kvm/v2/set/autohydration_disable","title":"Disable auto-hydration","sidebarTitle":"Disable hydration","href":"/management-api-reference/traffic-pool/disable-auto-hydration"},{"openapi":"post /kvm/v2/get/autohydration_status","title":"Get auto-hydration status","sidebarTitle":"Hydration status","href":"/management-api-reference/traffic-pool/get-auto-hydration-status"},{"openapi":"post /kvm/v2/get/pool_traffic","title":"Look up traffic pool size","sidebarTitle":"Pool size","href":"/management-api-reference/traffic-pool/get-global-traffic-pool-size"},{"openapi":"post /kvm/v2/get/refill_log","title":"Get hydration log","sidebarTitle":"Hydration log","href":"/management-api-reference/traffic-pool/get-hydration-log"},{"openapi":"post /kvm/v2/set/additional_pool_traffic","title":"Assign traffic","sidebarTitle":"Assign traffic","href":"/management-api-reference/traffic-pool/assign-traffic-resources-from-global-pool"}]},{"group":"Settings","pages":[{"openapi":"post /kvm/v2/get/config","title":"Get configuration","sidebarTitle":"Get configuration","href":"/management-api-reference/settings/get-configuration"},{"openapi":"post /kvm/v2/set/config","title":"Set configuration","sidebarTitle":"Set configuration","href":"/management-api-reference/settings/configure-settings"}]},{"group":"Collect Information","pages":[{"openapi":"post /kvm/v2/get/screenshot","title":"VNC screenshot","sidebarTitle":"VNC screenshot","href":"/management-api-reference/collect-information/get-vps-screenshot"},{"openapi":"post /kvm/v2/get/all_details","title":"VPS details","sidebarTitle":"VPS details","href":"/management-api-reference/collect-information/get-all-vps-details"},{"openapi":"post /kvm/v2/get/traffic","title":"Traffic usage","sidebarTitle":"Traffic usage","href":"/management-api-reference/collect-information/get-traffic-usage"},{"openapi":"post /kvm/v2/get/cpu_usage","title":"CPU usage","sidebarTitle":"CPU usage","href":"/management-api-reference/collect-information/get-cpu-usage"},{"openapi":"post /kvm/v2/get/details","title":"Basic details","sidebarTitle":"Basic details","href":"/management-api-reference/collect-information/get-basic-details"},{"openapi":"post /kvm/v2/get/mount","title":"Mount details","sidebarTitle":"Mount details","href":"/management-api-reference/collect-information/get-mount-details"}]},{"group":"VNC Management","pages":[{"openapi":"post /kvm/v2/set/vnc/keyboard","title":"Keyboard language","sidebarTitle":"Keyboard language","href":"/management-api-reference/vnc-management/set-vnc-keyboard-language"},{"openapi":"post /kvm/v2/get/vnc/status","title":"VNC status","sidebarTitle":"VNC status","href":"/management-api-reference/vnc-management/get-vnc-status"},{"openapi":"post /kvm/v2/set/vnc/enable","title":"Enable VNC","sidebarTitle":"Enable VNC","href":"/management-api-reference/vnc-management/enable-vnc-access"},{"openapi":"post /kvm/v2/set/vnc/disable","title":"Disable VNC","sidebarTitle":"Disable VNC","href":"/management-api-reference/vnc-management/disable-vnc-access"}]},{"group":"PTR","pages":[{"openapi":"post /get/ptr","title":"Get PTR","sidebarTitle":"Get PTR","href":"/management-api-reference/ptr/get-ptr-records"},{"openapi":"post /del/ptr","title":"Delete PTR","sidebarTitle":"Delete PTR","href":"/management-api-reference/ptr/delete-ptr-records"},{"openapi":"post /set/ptr","title":"Set PTR","sidebarTitle":"Set PTR","href":"/management-api-reference/ptr/set-ptr-records"}]},{"group":"Hooks","pages":[{"openapi":"post /kvm/v2/hooks/get","title":"All webhooks","sidebarTitle":"All webhooks","href":"/management-api-reference/hooks/get-all-webhooks"},{"openapi":"post /kvm/v2/hooks/del","title":"Delete webhook","sidebarTitle":"Delete webhook","href":"/management-api-reference/hooks/delete-a-webhook"},{"openapi":"post /kvm/v2/hooks/set","title":"Traffic monitor webhook","sidebarTitle":"Traffic monitor webhook","href":"/management-api-reference/hooks/set-webhook-for-traffic-monitoring"},{"openapi":"post /example/callback","title":"Callback example","sidebarTitle":"Callback example","href":"/management-api-reference/hooks/example-callback-triggered"}]}]},{"tab":"Looking Glass API","groups":[{"group":"Get started","pages":[{"title":"Looking Glass API: network diagnostics from 50 locations","sidebarTitle":"Overview \u0026 quick start","href":"/looking-glass-api/overview"},{"title":"Looking Glass API rate limits and errors","sidebarTitle":"Rate limits \u0026 errors","href":"/looking-glass-api/rate-limits"}]},{"group":"Regional endpoints","pages":[{"title":"Quick ping API","sidebarTitle":"Quick ping","href":"/looking-glass-api/ping"},{"title":"TCP port check API","sidebarTitle":"TCP port check","href":"/looking-glass-api/port"},{"title":"Detailed ping, MTR and traceroute API","sidebarTitle":"Detailed probes","href":"/looking-glass-api/probes"},{"title":"Current Looking Glass location API","sidebarTitle":"Current location","href":"/looking-glass-api/location"},{"title":"Looking Glass location directory API","sidebarTitle":"Location directory","href":"/looking-glass-api/locations"},{"title":"Public client IP API","sidebarTitle":"Client IP","href":"/looking-glass-api/client"}]},{"group":"Integration guides","pages":[{"title":"Global ping service and hub API","sidebarTitle":"Global ping service","href":"/looking-glass-api/global-hub"},{"title":"Looking Glass API responses and interpretation","sidebarTitle":"Response fields","href":"/looking-glass-api/results"}]}]},{"tab":"Changelog","groups":[{"group":"Changelog","pages":[{"title":"Product changelog","sidebarTitle":"Product","href":"/changelog/product"},{"title":"Management API changelog","sidebarTitle":"Management API","href":"/changelog/management-api"},{"title":"Order API changelog","sidebarTitle":"Order API","href":"/changelog/order-api"}]}]}],"global":{"anchors":[{"anchor":"Explore VPS Hosting Plans \u0026 Locations","icon":"server","href":"https://www.edisglobal.com/vps-hosting"},{"anchor":"Why Our VPS Infrastructure Is Different","icon":"user","href":"https://www.edisglobal.com/why-edis-global"}]}},{"language":"ru","navbar":{"links":[{"href":"/getting-started/everything-vps","label":"Все статьи (English)"},{"href":"https://www.edisglobal.com/contact","label":"Поддержка"}],"primary":{"type":"button","label":"Личный кабинет","href":"https://manage.edisglobal.com/clientarea.php"}},"pages":[{"title":"ru","href":"/ru/getting-started/everything-vps"}]}]},"basePath":"","title":"Basic UFW setup guide for Debian/Ubuntu - EDIS Global Docs","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":[],"chunks":[]}