{"id":15864,"date":"2025-12-09T05:23:37","date_gmt":"2025-12-09T05:23:37","guid":{"rendered":"https:\/\/greenwebpage.com\/community\/?p=15864"},"modified":"2025-12-09T05:23:39","modified_gmt":"2025-12-09T05:23:39","slug":"how-to-check-firewall-status-on-debian-13","status":"publish","type":"post","link":"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/","title":{"rendered":"How to Check Firewall Status on Debian 13"},"content":{"rendered":"\n<p>\n  Managing firewall rules is a crucial security task on Linux systems. In Debian 13, depending on the server configuration, different firewall tools can be installed. The most common are UFW, iptables, or firewalld. You must first check if your firewall is active and what rules are in place. Also, make sure that network ports are open or blocked.\n<\/p>\n\n\n\n<p>\n  This guide will explain how to check the firewall status in Debian 13, with each step explained clearly before you run any commands.\n<\/p>\n\n\n\n<p><strong>Table of Contents<\/strong>\n<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#How-to-Check-Firewall-Status-on-Debian-13\">How to Check Firewall Status on Debian 13<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#Method-1:-Check-Firewall-Status-Using-UFW-(Uncomplicated-Firewall)\">Method 1: Check Firewall Status Using UFW (Uncomplicated Firewall)<\/a><\/li>\n\n\n\n<li><a href=\"#Method-2:-Check-Firewall-Status-Using-iptables\">Method 2: Check Firewall Status Using iptables<\/a><\/li>\n\n\n\n<li><a href=\"#Method-3:-Check-Firewall-Status-Using-firewalld\">Method 3: Check Firewall Status Using firewalld<\/a><\/li>\n\n\n\n<li><a href=\"#Method-4:-Check-All-Active-Listening-Ports-(General-Firewall-Check)\">Method 4: Check All Active Listening Ports (General Firewall Check)<\/a><\/li>\n\n\n\n<li><a href=\"#Method-5:-Check-for-Active-Firewall-Services-on-Debian\">Method 5: Check for Active Firewall Services on Debian<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#Conclusion\">Conclusion<\/a><br>  <\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"How-to-Check-Firewall-Status-on-Debian-13\"><a id=\"post-15864-_t8t3fyk6emd1\"><\/a>How to Check Firewall Status on Debian 13<\/h2>\n\n\n\n<p>\n  Once you know which firewall tool is used by your system, it&#8217;s easy to check the status of the firewall on Debian 13. Whether you use UFW, iptables, or firewalld on your server, all three methods provide a clear way to view firewall activity, confirm security configuration, and inspect firewall activity. You can verify the firewall status safely by following the instructions before each command. This will prevent you from accidentally changing your system. By keeping track of the firewall status, you can ensure that your Debian VPS is secure, protected, and configured correctly.\n<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Method-1:-Check-Firewall-Status-Using-UFW-(Uncomplicated-Firewall)\"><a id=\"post-15864-_eo9nnvxrg53t\"><\/a>Method 1: Check Firewall Status Using UFW (Uncomplicated Firewall)<\/h2>\n\n\n\n<p>\n  UFW is the firewall that comes as standard on most Debian-based servers.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15864-_7v3giqsy5lpo\"><\/a>Step 1: Check if UFW is installed<\/h3>\n\n\n\n<p>\n  It is important to confirm that UFW is installed on your computer. If the command below returns a number, then UFW is already installed.\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  ufw &#8211;version\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1042\" height=\"192\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-1.png\" alt=\"  ufw --version\n\" class=\"wp-image-15865\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-1.png 1042w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-1-300x55.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-1-1024x189.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-1-768x142.png 768w\" sizes=\"(max-width: 1042px) 100vw, 1042px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15864-_ktygu61npxlt\"><\/a>Step 2: Check UFW status<\/h3>\n\n\n\n<p>\n  The firewall status is shown, along with the list of rules that are enabled.\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo ufw status verbose\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1048\" height=\"147\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-2.png\" alt=\"  sudo ufw status verbose\n\" class=\"wp-image-15866\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-2.png 1048w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-2-300x42.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-2-1024x144.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-2-768x108.png 768w\" sizes=\"(max-width: 1048px) 100vw, 1048px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>\n  You can see information like the number of ports allowed, ports denied, the level of logging, and default policies.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15864-_ruqjrp2d3oxr\"><\/a>Step 3: Check whether the UFW service is running<\/h3>\n\n\n\n<p>\n  Use systemd in order to check that the UFW Daemon is enabled and active on boot.\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  systemctl status ufw\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1039\" height=\"352\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-3.png\" alt=\"  systemctl status ufw\n\" class=\"wp-image-15867\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-3.png 1039w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-3-300x102.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-3-1024x347.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-3-768x260.png 768w\" sizes=\"(max-width: 1039px) 100vw, 1039px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>\n  You can see if UFW has been active, inactive, or stopped.\n<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Method-2:-Check-Firewall-Status-Using-iptables\"><a id=\"post-15864-_1ncgjtsait94\"><\/a>Method 2: Check Firewall Status Using iptables<\/h2>\n\n\n\n<p>\n  Some VPS providers and older Debian configurations still use iptables as the packet filtering system.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15864-_o11oun1rkbt4\"><\/a>Step 1: Check if iptables is available<\/h3>\n\n\n\n<p>\n  This will confirm that iptables has been installed on your computer.\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  iptables &#8211;version\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1046\" height=\"112\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-4.png\" alt=\"  iptables --version\n\" class=\"wp-image-15868\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-4.png 1046w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-4-300x32.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-4-1024x110.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-4-768x82.png 768w\" sizes=\"(max-width: 1046px) 100vw, 1046px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15864-_stsur258mdow\"><\/a>Step 2: List active iptables rules<\/h3>\n\n\n\n<p>\n  This will display all firewall rules currently in use, including chains such as INPUT, OUTPUT, and FORWARD.\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo iptables -L -n -v\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1044\" height=\"345\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-5.png\" alt=\"  sudo iptables -L -n -v\n\" class=\"wp-image-15869\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-5.png 1044w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-5-300x99.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-5-1024x338.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-5-768x254.png 768w\" sizes=\"(max-width: 1044px) 100vw, 1044px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>What it shows:<\/strong>\n<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>   -L \u2192 lists all rules<\/li>\n\n\n\n<li>   -n \u2192 shows raw IPs instead of DNS names<\/li>\n\n\n\n<li> -v \u2192 verbose output<br>  <\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15864-_alheklkgzmon\"><\/a>Step 3: Check iptables for specific ports<\/h3>\n\n\n\n<p>\n  This will show you if the port is blocked or allowed.\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo iptables -L INPUT -n | grep 22\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1041\" height=\"81\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-6.png\" alt=\"  sudo iptables -L INPUT -n | grep 22\n\" class=\"wp-image-15870\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-6.png 1041w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-6-300x23.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-6-1024x80.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-6-768x60.png 768w\" sizes=\"(max-width: 1041px) 100vw, 1041px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Method-3:-Check-Firewall-Status-Using-firewalld\"><a id=\"post-15864-_8e6qsjtbpd26\"><\/a>Method 3: Check Firewall Status Using firewalld<\/h2>\n\n\n\n<p>\n  Firewalls are used by some Debian systems, particularly when they have been manually installed or imported from Red Hat-based setups.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15864-_qtj01agtih58\"><\/a>Step 1: Check if firewalld is installed<\/h3>\n\n\n\n<p>\n  This will tell you if firewalld is installed on your Debian 13 System.\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  firewall-cmd &#8211;version\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1042\" height=\"101\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-7.png\" alt=\"  firewall-cmd --version\n\" class=\"wp-image-15871\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-7.png 1042w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-7-300x29.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-7-1024x99.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-7-768x74.png 768w\" sizes=\"(max-width: 1042px) 100vw, 1042px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15864-_xokvpmo13rcq\"><\/a>Step 2: Check the firewalld service status<\/h3>\n\n\n\n<p>\n  This will show if firewalld has been enabled, stopped, or is active.\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  systemctl status firewalld\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1044\" height=\"371\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-8.png\" alt=\"  systemctl status firewalld\n\" class=\"wp-image-15872\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-8.png 1044w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-8-300x107.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-8-1024x364.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-8-768x273.png 768w\" sizes=\"(max-width: 1044px) 100vw, 1044px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15864-_g870fflpf7mk\"><\/a>Step 3: Show the currently active firewall rules<\/h3>\n\n\n\n<p>\n  This command displays all services, zones, ports, and allowed services configured in firewalld.\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo firewall-cmd &#8211;list-all\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1040\" height=\"477\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-9.png\" alt=\"  sudo firewall-cmd --list-all\n\" class=\"wp-image-15873\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-9.png 1040w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-9-300x138.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-9-1024x470.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-9-768x352.png 768w\" sizes=\"(max-width: 1040px) 100vw, 1040px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15864-_l31oe7xm8t0l\"><\/a>Step 4: Check all open ports in firewalld<\/h3>\n\n\n\n<p>\n  You can quickly identify which ports on the network are permitted.\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo firewall-cmd &#8211;list-ports\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1043\" height=\"97\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-10.png\" alt=\"  sudo firewall-cmd --list-ports\n\" class=\"wp-image-15874\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-10.png 1043w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-10-300x28.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-10-1024x95.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-10-768x71.png 768w\" sizes=\"(max-width: 1043px) 100vw, 1043px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Method-4:-Check-All-Active-Listening-Ports-(General-Firewall-Check)\"><a id=\"post-15864-_r746zl6dq2o8\"><\/a>Method 4: Check All Active Listening Ports (General Firewall Check)<\/h2>\n\n\n\n<p>\n  You can check which ports are still open even if you don&#8217;t have a firewall installed.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15864-_j7cgwzq03ny9\"><\/a>Step 1: Show all listening network ports<\/h3>\n\n\n\n<p>\n  You can then determine which services need firewall protection.\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo ss -tulnp\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1045\" height=\"584\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-11.png\" alt=\"  sudo ss -tulnp\n\" class=\"wp-image-15875\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-11.png 1045w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-11-300x168.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-11-1024x572.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-11-768x429.png 768w\" sizes=\"(max-width: 1045px) 100vw, 1045px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>What it shows:<\/strong>\n<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>t<\/strong> \u2192 TCP connections<\/li>\n\n\n\n<li><strong>u<\/strong> \u2192 UDP connections<\/li>\n\n\n\n<li><strong>l<\/strong> \u2192 listening ports<\/li>\n\n\n\n<li><strong>n<\/strong> \u2192 show numeric addresses<\/li>\n\n\n\n<li><strong>p<\/strong> \u2192 show process name<br>  <\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Method-5:-Check-for-Active-Firewall-Services-on-Debian\"><a id=\"post-15864-_ph3bo4c11o89\"><\/a>Method 5: Check for Active Firewall Services on Debian<\/h2>\n\n\n\n<p>\n  This tool helps you detect if any firewalls are automatically enabled. List all firewall-related services.\n<\/p>\n\n\n\n<p>\n  This will give you a quick look at the firewall software that is installed.\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  systemctl list-units | grep -E &#8220;ufw|firewalld|iptables&#8221;\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1038\" height=\"180\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-12.png\" alt=\"  systemctl list-units | grep -E &quot;ufw|firewalld|iptables&quot;\n\" class=\"wp-image-15876\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-12.png 1038w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-12-300x52.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-12-1024x178.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15864-12-768x133.png 768w\" sizes=\"(max-width: 1038px) 100vw, 1038px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Conclusion\"><a id=\"post-15864-_kk9up1n8wp4l\"><\/a>Conclusion<\/h2>\n\n\n\n<p>\n  To check the firewall status on Debian 13, first verify whether UFW, iptables, or firewalld is being used by your system; you can check UFW with sudo ufw status verbose to see if it&#8217;s active and what rules are enabled, check iptables rules using sudo iptables -L -n -v to view packet filtering chains, or check firewalld by running systemctl status firewalld followed by sudo firewall-cmd &#8211;list-all to view active zones and allowed ports, and if you&#8217;re unsure which firewall is running, use systemctl list-units | grep -E &#8220;ufw|firewalld|iptables&#8221; to identify the active firewall service.\n<\/p>\n\n    <div class=\"xs_social_share_widget xs_share_url after_content \t\tmain_content  wslu-style-1 wslu-share-box-shaped wslu-fill-colored wslu-none wslu-share-horizontal wslu-theme-font-no wslu-main_content\">\n\n\t\t\n        <ul>\n\t\t\t        <\/ul>\n    <\/div> \n","protected":false},"excerpt":{"rendered":"<p>Managing firewall rules is a crucial security task on Linux systems. In Debian 13, depending on the server configuration, different firewall tools can be installed. The most common are UFW, iptables, or firewalld. You must first check if your firewall is active and what rules are in place. Also, make sure that network ports are [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":15878,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[933,985,322,285,225],"class_list":["post-15864","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-debian-13","tag-firewall-status","tag-firewalld","tag-iptables","tag-ufw"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Check Firewall Status on Debian 13 - Greenwebpage Community<\/title>\n<meta name=\"description\" content=\"This guide will explain how to check the firewall status in Debian 13, with each step explained clearly before you run any commands.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Check Firewall Status on Debian 13 - Greenwebpage Community\" \/>\n<meta property=\"og:description\" content=\"This guide will explain how to check the firewall status in Debian 13, with each step explained clearly before you run any commands.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/\" \/>\n<meta property=\"og:site_name\" content=\"Greenwebpage Community\" \/>\n<meta property=\"article:published_time\" content=\"2025-12-09T05:23:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-09T05:23:39+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-check-firewall-status-on-Debian-13.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1020\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Karim Buzdar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Karim Buzdar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/\"},\"author\":{\"name\":\"Karim Buzdar\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\"},\"headline\":\"How to Check Firewall Status on Debian 13\",\"datePublished\":\"2025-12-09T05:23:37+00:00\",\"dateModified\":\"2025-12-09T05:23:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/\"},\"wordCount\":791,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-check-firewall-status-on-Debian-13.jpg\",\"keywords\":[\"Debian 13\",\"Firewall Status\",\"Firewalld\",\"IPtables\",\"UFW\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/\",\"name\":\"How to Check Firewall Status on Debian 13 - Greenwebpage Community\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-check-firewall-status-on-Debian-13.jpg\",\"datePublished\":\"2025-12-09T05:23:37+00:00\",\"dateModified\":\"2025-12-09T05:23:39+00:00\",\"description\":\"This guide will explain how to check the firewall status in Debian 13, with each step explained clearly before you run any commands.\",\"breadcrumb\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/#primaryimage\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-check-firewall-status-on-Debian-13.jpg\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-check-firewall-status-on-Debian-13.jpg\",\"width\":1020,\"height\":600,\"caption\":\"How to check firewall status on Debian 13\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/greenwebpage.com\/community\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Check Firewall Status on Debian 13\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"name\":\"Greenwebpage Community\",\"description\":\"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.\",\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/greenwebpage.com\/community\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\",\"name\":\"Greenwebpage Community\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"width\":512,\"height\":512,\"caption\":\"Greenwebpage Community\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\",\"name\":\"Karim Buzdar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"caption\":\"Karim Buzdar\"},\"sameAs\":[\"https:\/\/greenwebpage.com\"],\"url\":\"https:\/\/greenwebpage.com\/community\/author\/karim\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Check Firewall Status on Debian 13 - Greenwebpage Community","description":"This guide will explain how to check the firewall status in Debian 13, with each step explained clearly before you run any commands.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/","og_locale":"en_US","og_type":"article","og_title":"How to Check Firewall Status on Debian 13 - Greenwebpage Community","og_description":"This guide will explain how to check the firewall status in Debian 13, with each step explained clearly before you run any commands.","og_url":"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/","og_site_name":"Greenwebpage Community","article_published_time":"2025-12-09T05:23:37+00:00","article_modified_time":"2025-12-09T05:23:39+00:00","og_image":[{"width":1020,"height":600,"url":"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-check-firewall-status-on-Debian-13.jpg","type":"image\/jpeg"}],"author":"Karim Buzdar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Karim Buzdar","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/#article","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/"},"author":{"name":"Karim Buzdar","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8"},"headline":"How to Check Firewall Status on Debian 13","datePublished":"2025-12-09T05:23:37+00:00","dateModified":"2025-12-09T05:23:39+00:00","mainEntityOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/"},"wordCount":791,"commentCount":0,"publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-check-firewall-status-on-Debian-13.jpg","keywords":["Debian 13","Firewall Status","Firewalld","IPtables","UFW"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/","url":"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/","name":"How to Check Firewall Status on Debian 13 - Greenwebpage Community","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/#website"},"primaryImageOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/#primaryimage"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-check-firewall-status-on-Debian-13.jpg","datePublished":"2025-12-09T05:23:37+00:00","dateModified":"2025-12-09T05:23:39+00:00","description":"This guide will explain how to check the firewall status in Debian 13, with each step explained clearly before you run any commands.","breadcrumb":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/#primaryimage","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-check-firewall-status-on-Debian-13.jpg","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-check-firewall-status-on-Debian-13.jpg","width":1020,"height":600,"caption":"How to check firewall status on Debian 13"},{"@type":"BreadcrumbList","@id":"https:\/\/greenwebpage.com\/community\/how-to-check-firewall-status-on-debian-13\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/greenwebpage.com\/community\/"},{"@type":"ListItem","position":2,"name":"How to Check Firewall Status on Debian 13"}]},{"@type":"WebSite","@id":"https:\/\/greenwebpage.com\/community\/#website","url":"https:\/\/greenwebpage.com\/community\/","name":"Greenwebpage Community","description":"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.","publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/greenwebpage.com\/community\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/greenwebpage.com\/community\/#organization","name":"Greenwebpage Community","url":"https:\/\/greenwebpage.com\/community\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","width":512,"height":512,"caption":"Greenwebpage Community"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8","name":"Karim Buzdar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","caption":"Karim Buzdar"},"sameAs":["https:\/\/greenwebpage.com"],"url":"https:\/\/greenwebpage.com\/community\/author\/karim\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/15864","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/comments?post=15864"}],"version-history":[{"count":2,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/15864\/revisions"}],"predecessor-version":[{"id":15879,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/15864\/revisions\/15879"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media\/15878"}],"wp:attachment":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media?parent=15864"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/categories?post=15864"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/tags?post=15864"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}