{"id":1180,"date":"2020-02-04T04:14:02","date_gmt":"2020-02-04T04:14:02","guid":{"rendered":"https:\/\/blog.myresellerhome.com\/?p=1180"},"modified":"2022-02-28T10:33:24","modified_gmt":"2022-02-28T10:33:24","slug":"configure-a-firewall-in-linux","status":"publish","type":"post","link":"https:\/\/myresellerhome.com\/blog\/configure-a-firewall-in-linux\/","title":{"rendered":"A Step-By-Step Guide on How to Configure a Firewall in Linux"},"content":{"rendered":"<span data-preserver-spaces=\"true\">Before starting with the steps involved in configuring a firewall in Linux, let\u2019s make sure we understand\u00a0<\/span><em><span data-preserver-spaces=\"true\">what a firewall is and how it works<\/span><\/em><span data-preserver-spaces=\"true\">.<\/span>\r\n<h2><strong><span data-preserver-spaces=\"true\">Understanding what a firewall is and how it works:<\/span><\/strong><\/h2>\r\n<span data-preserver-spaces=\"true\">A firewall is network security software that monitors your network&#8217;s incoming and outgoing traffic. In simple words, This is an intermediary system between the device and the internet. Thus, the barrier is placed between the safe and unsafe place. The safe place is your private network and the unsafe place is the internet. This way, a firewall not only eliminates unwanted network communication but also prevents your server from malicious attacks.<\/span>\r\n<h2><strong><span data-preserver-spaces=\"true\">Why is it necessary to enable a firewall for my Linux system?<\/span><\/strong><\/h2>\r\n<span data-preserver-spaces=\"true\">If you have a Linux machine, you\u00a0<\/span><em><span data-preserver-spaces=\"true\">are\u00a0<\/span><\/em><span data-preserver-spaces=\"true\">guaranteed a certain level of security by default, courtesy of the amazing Linux developer community. Linux systems are generally immune to most viruses and other threats that many other operating systems succumb to. But with the increase in the volume, variety, and intensity of cyber threats today, configuring a Linux firewall is quite a necessity.<\/span>\r\n<h2><strong><span data-preserver-spaces=\"true\">Steps to configure a firewall in Linux manually:<\/span><\/strong><\/h2>\r\n<h3><strong><span data-preserver-spaces=\"true\">Step 1: Up your Linux Security<\/span><\/strong><\/h3>\r\n<span data-preserver-spaces=\"true\">It is equally important to make sure your Linux system is up to date with the latest security updates installed, as well as, your operating system version is also up to date.<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">With Ubuntu\/Debian Linux distribution,\u00a0<\/span><em><span data-preserver-spaces=\"true\">\u2018iptables\u2019<\/span><\/em><span data-preserver-spaces=\"true\">\u00a0is pre-installed. However, CentOS 7 and onwards replaces iptables with\u00a0<\/span><a class=\"editor-rtfLink\" href=\"https:\/\/firewalld.org\/\" target=\"_blank\" rel=\"noopener\"><strong><span data-preserver-spaces=\"true\">FirewallD<\/span><\/strong><\/a><span data-preserver-spaces=\"true\">\u00a0as the default firewall management tool.<\/span>\r\n\r\n<em><span data-preserver-spaces=\"true\">Note: If you are comfortable with iptables, you can continue using it, but make sure you disable FirewallD in your CentOS before installing iptables.\u00a0<\/span><\/em>\r\n<h3><strong><span data-preserver-spaces=\"true\">Step 2: Configuring IPTABLES:<\/span><\/strong><\/h3>\r\n<span data-preserver-spaces=\"true\">iptables is a command-line firewall utility program that allows filtering traffic. The iptables tool decides which packets can come in and go out based on the rules it is configured to follow. It uses policy chains to allow or block the traffic. There are three types of policy chains:<\/span>\r\n\r\n<em><span data-preserver-spaces=\"true\">Chains are a set of rules defined for a particular task.<\/span><\/em>\r\n\r\n<span data-preserver-spaces=\"true\">We have three chains(set of rules) that are used to process the traffic:-<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u25cf\u00a0<\/span><strong><span data-preserver-spaces=\"true\">INPUT Chains<\/span><\/strong><span data-preserver-spaces=\"true\">: Any traffic from the internet(network) towards your local machine has to go through the input chains. That means they have to go through all the rules that have been set up in the Input chain.<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u25cf\u00a0<\/span><strong><span data-preserver-spaces=\"true\">OUTPUT Chains<\/span><\/strong><span data-preserver-spaces=\"true\">: Any traffic going from your local machine to the internet needs to go through the output chains.<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u25cf\u00a0<\/span><strong><span data-preserver-spaces=\"true\">FORWARD Chains<\/span><\/strong><span data-preserver-spaces=\"true\">: used for packets that aren\u2019t being delivered locally, i.e. packets routed via the server<\/span>\r\n<h5><strong><span data-preserver-spaces=\"true\">Different Policies:-<\/span><\/strong><\/h5>\r\n<span data-preserver-spaces=\"true\">There are three actions which the iptables can perform on the traffic<\/span>\r\n<h5><strong><span data-preserver-spaces=\"true\">1. ACCEPT<\/span><\/strong><\/h5>\r\n<span data-preserver-spaces=\"true\">When traffic passes the rules in its specified chain, the iptable accepts the traffic. That means it opens up the gate and allows the person to go inside the kingdom of Thanos.<\/span>\r\n<h5><strong><span data-preserver-spaces=\"true\">2. DROP<\/span><\/strong><\/h5>\r\n<span data-preserver-spaces=\"true\">When the traffic cannot pass the rules in its specified chain, the iptable blocks that traffic, which means the firewall is closed.<\/span>\r\n<h5><strong><span data-preserver-spaces=\"true\">3. REJECT<\/span><\/strong><\/h5>\r\n<span data-preserver-spaces=\"true\">This type of action is similar to the drop action, but it sends a message to the traffic sender stating that the data transfer has failed.<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">Generally, use REJECT when you want the other end to know the port is unreachable\u2019. Use DROP for connections to hosts you don\u2019t want people to see.<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">iptables usually comes pre-installed with your Linux. However, if it is missing,\u00a0<\/span><em><span data-preserver-spaces=\"true\">you can install it<\/span><\/em><span data-preserver-spaces=\"true\">\u00a0using the following command:<\/span>\r\n\r\n<em><span data-preserver-spaces=\"true\">Different OS flavours use different installation commands<\/span><\/em>\r\n\r\n<strong><span data-preserver-spaces=\"true\">sudo apt-get install iptables<\/span><\/strong>\r\n\r\n<span data-preserver-spaces=\"true\">iptables installation on\u00a0<\/span><strong><span data-preserver-spaces=\"true\">Ubuntu\/Debian Systems:<\/span><\/strong><span data-preserver-spaces=\"true\">\u00a0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">sudo yum install iptables-services<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">iptables installation on\u00a0<\/span><strong><span data-preserver-spaces=\"true\">Enterprise Linux OS like CentOS<\/span><\/strong>\r\n\r\n<span data-preserver-spaces=\"true\">To<\/span><strong><span data-preserver-spaces=\"true\">\u00a0check the default configuration<\/span><\/strong><span data-preserver-spaces=\"true\">, run the following command:<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">sudo iptables \u2013 L<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">to check the configuration on\u00a0<\/span><strong><span data-preserver-spaces=\"true\">\u00a0Ubuntu\/Debian Systems<\/span><\/strong>\r\n\r\n<span data-preserver-spaces=\"true\">sudo iptables -nvL<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0to check the configuration on\u00a0<\/span><strong><span data-preserver-spaces=\"true\">Linux OS like CentOS<\/span><\/strong><span data-preserver-spaces=\"true\">\u00a0<\/span>\r\n\r\n<strong><span data-preserver-spaces=\"true\">To flush all the pre-configured rules<\/span><\/strong><span data-preserver-spaces=\"true\">, run the following command:<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">iptables \u2013 F<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">To clear the firewall rules<\/span>\r\n\r\n<strong><span data-preserver-spaces=\"true\">To start the iptables service in CentOS<\/span><\/strong><span data-preserver-spaces=\"true\">, run the following command:<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">sudo systemctl start iptables<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">start iptables on Centos<\/span>\r\n\r\n<strong><span data-preserver-spaces=\"true\">To enable iptables in CentOs,\u00a0<\/span><\/strong><span data-preserver-spaces=\"true\">run the following command:<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">sudo systemctl enable iptables<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">enable iptables on Centos<\/span>\r\n<h3><strong>STEP 3:\u00a0BLOCK COMMANDS:<\/strong><\/h3>\r\n<h5><strong><span data-preserver-spaces=\"true\">To block\/drop connections for a particular IP address<\/span><\/strong><span data-preserver-spaces=\"true\">:<\/span><\/h5>\r\n<span data-preserver-spaces=\"true\">iptables -A INPUT -s xx.xx.xx.xx -j DROP<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">xx.xx.xx.xx is your IP address<\/span>\r\n\r\n<strong><span data-preserver-spaces=\"true\">To block\/drop connections from a range of IP addresses<\/span><\/strong><span data-preserver-spaces=\"true\">, run the following command:<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">iptables -A INPUT -s xx.xx.xx.xx \/24 -j DROP<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">OR<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">iptables -A INPUT -s xx.xx.xx.xx \/255.255.255.0 -j DROP<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">xx.xx.xx.xx is your IP address<\/span>\r\n\r\n<strong><span data-preserver-spaces=\"true\">\u00a0To block\/drop connections to a specific port<\/span><\/strong><span data-preserver-spaces=\"true\">, run the following command:<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">iptables -A INPUT -p tcp \u2013dport imap -j DROP<\/span>\r\n\r\n<strong><span data-preserver-spaces=\"true\">iptables commands for some of the common types of attacks :<\/span><\/strong>\r\n\r\n<span data-preserver-spaces=\"true\">iptables -A INPUT -p tcp\u2013syn -m state \u2013state NEW -j DROP<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0to\u00a0<\/span><strong><span data-preserver-spaces=\"true\">drop syn-flood packet<\/span><\/strong><span data-preserver-spaces=\"true\">\u00a0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">iptables -A INPUT -p tcp \u2013tcp-flags ALL NONE -j DROP<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">to\u00a0<\/span><strong><span data-preserver-spaces=\"true\">drop NULL packet<\/span><\/strong>\r\n\r\n<span data-preserver-spaces=\"true\">iptables -A INPUT -p tcp \u2013tcp-flags ALL ALL -j DROP<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0Block XMAS Packets\u00a0<\/span>\r\n<h3><strong><span data-preserver-spaces=\"true\">STEP 4: Decide which firewall ports to leave open:<\/span><\/strong><\/h3>\r\n<h5><span data-preserver-spaces=\"true\">Here are some ports you could decide to leave open:<\/span><\/h5>\r\n<strong><span data-preserver-spaces=\"true\">For outgoing connections:<\/span><\/strong>\r\n\r\n<span data-preserver-spaces=\"true\">\u25cf 80\/tcp for HTTP<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u25cf 53\/udp for DNS<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u25cf 443\/tcp for HTTPS (secured HTTP)<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u25cf 21\/tcp for FTP (File Transfer Protocol)<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u25cf 465\/tcp for SMTP (send emails)<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u25cf 25\/tcp for Insecure SMTP<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u25cf 22\/tcp for SSH (secure connection from computer to computer)<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u25cf 993\/tcp&amp;udp for IMAP (receive emails)<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u25cf 143\/tcp&amp;udp for Insecure IMAP<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u25cf 9418\/tcp for GIT (version control system)<\/span>\r\n\r\n<strong><span data-preserver-spaces=\"true\">For Incoming connections:<\/span><\/strong>\r\n\r\n<span data-preserver-spaces=\"true\">\u25cf 993\/tcp&amp;udp for IMAP (receive emails)<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u25cf 143\/tcp&amp;udp for Insecure IMAP<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u25cf 110\/tcp for POP3 (old way to receive emails)<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u25cf 22\/tcp for SSH (secure connection from computer to computer)<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u25cf 9418\/tcp for GIT (version control system)<\/span>\r\n<h3><strong><span data-preserver-spaces=\"true\">Step 5: Save your firewall configuration<\/span><\/strong><\/h3>\r\n<span data-preserver-spaces=\"true\">Type the following command to save the settings you\u2019ve configured and restart your firewall:<\/span>\r\n\r\n<strong><span data-preserver-spaces=\"true\">iptables -L -n<\/span><\/strong>\r\n\r\n<strong><span data-preserver-spaces=\"true\">iptables-save | sudo tee \/etc\/sysconfig\/iptables<\/span><\/strong>\r\n\r\n<strong><span data-preserver-spaces=\"true\">service iptables restart<\/span><\/strong>\r\n<h2><strong><span data-preserver-spaces=\"true\">CONCLUSION:<\/span><\/strong><\/h2>\r\n<span data-preserver-spaces=\"true\">By following the above steps, it is easy to easily enable a firewall in Linux. If your website is hosted on VPS (Virtual Private Server) Hosting, then you can easily make changes to your server, as\u00a0<\/span><a class=\"editor-rtfLink\" href=\"https:\/\/myresellerhome.com\/linux-vps.html\" target=\"_blank\" rel=\"noopener\"><strong><span data-preserver-spaces=\"true\">VPS Hosting<\/span><\/strong><\/a><span data-preserver-spaces=\"true\"> comes with full root access. This way, you have complete control of your hosting server and can customize it as you see fit.<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">MyReseller VPS server Plans<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">Hope we\u2019ve made this process an easy-to-follow guide for you to configure a firewall in Linux.<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">MyResellerhome Dedicated Server Plans<\/span>\r\n<figure><a href=\"https:\/\/myresellerhome.com\/linux-vps.html\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/i0.wp.com\/blog.myresellerhome.com\/wp-content\/uploads\/2020\/02\/vps.jpg?fit=640%2C131&amp;ssl=1\" alt=\"MyResellerhome VPS plans\" width=\"637\" height=\"131\" \/><\/a><figcaption>MyReseller VPS server Plans<\/figcaption><\/figure>\r\nHope we\u2019ve made this process an easy-to-follow guide for you to configure a firewall in Linux.\r\n<figure><a href=\"https:\/\/myresellerhome.com\/dedicated-server.html\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/i2.wp.com\/blog.myresellerhome.com\/wp-content\/uploads\/2020\/02\/dedicated-add.jpg?fit=640%2C166&amp;ssl=1\" alt=\"MyResellerhome Dediacted server plans\" width=\"639\" height=\"166\" \/><\/a><figcaption>MyResellerhome Dedicated Server Plans<\/figcaption><\/figure>\r\n<span data-preserver-spaces=\"true\">You can follow us on\u00a0<\/span><a class=\"editor-rtfLink\" href=\"http:\/\/twitter.com\/home4reseller\" target=\"_blank\" rel=\"noopener\"><strong><span data-preserver-spaces=\"true\">Twitter<\/span><\/strong><\/a><span data-preserver-spaces=\"true\">\u00a0and\u00a0<\/span><a class=\"editor-rtfLink\" href=\"https:\/\/www.facebook.com\/My-Reseller-Home-1507232799584365\" target=\"_blank\" rel=\"noopener\"><strong><span data-preserver-spaces=\"true\">Facebook<\/span><\/strong><\/a><span data-preserver-spaces=\"true\">.<\/span>\r\n\r\n<!-- \/wp:post-content -->","protected":false},"excerpt":{"rendered":"<p>Before starting with the steps involved in configuring a firewall in Linux, let\u2019s make sure we understand\u00a0what a firewall is and how it works. Understanding what a firewall is and how it works: A firewall is network security software that<span class=\"excerpt-hellip\"> [\u2026]<\/span><\/p>\n","protected":false},"author":1,"featured_media":1599,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[4,44],"tags":[],"class_list":["post-1180","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general","category-security"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Before starting with the steps involved in configuring a firewall in Linux, let\u2019s make sure we understand what a firewall is and how it works. Understanding what a firewall is and how it works: A firewall is network security software that monitors your network&#039;s incoming and outgoing traffic. In simple words, This is an intermediary system\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"MyResellerHome\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/myresellerhome.com\/blog\/configure-a-firewall-in-linux\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"My Reseller Home - The Ultimate place for Reseller Hosting, We provide everything needed to become a Hosting Reseller\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"A Step-By-Step Guide on How to Configure a Firewall in Linux - My Reseller Home\" \/>\n\t\t<meta property=\"og:description\" content=\"Before starting with the steps involved in configuring a firewall in Linux, let\u2019s make sure we understand what a firewall is and how it works. Understanding what a firewall is and how it works: A firewall is network security software that monitors your network&#039;s incoming and outgoing traffic. In simple words, This is an intermediary system\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/myresellerhome.com\/blog\/configure-a-firewall-in-linux\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-02-04T04:14:02+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-02-28T10:33:24+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"A Step-By-Step Guide on How to Configure a Firewall in Linux - My Reseller Home\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Before starting with the steps involved in configuring a firewall in Linux, let\u2019s make sure we understand what a firewall is and how it works. Understanding what a firewall is and how it works: A firewall is network security software that monitors your network&#039;s incoming and outgoing traffic. In simple words, This is an intermediary system\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"A Step-By-Step Guide on How to Configure a Firewall in Linux - My Reseller Home","description":"Before starting with the steps involved in configuring a firewall in Linux, let\u2019s make sure we understand what a firewall is and how it works. Understanding what a firewall is and how it works: A firewall is network security software that monitors your network's incoming and outgoing traffic. In simple words, This is an intermediary system","canonical_url":"https:\/\/myresellerhome.com\/blog\/configure-a-firewall-in-linux\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"My Reseller Home - The Ultimate place for Reseller Hosting, We provide everything needed to become a Hosting Reseller","og:type":"article","og:title":"A Step-By-Step Guide on How to Configure a Firewall in Linux - My Reseller Home","og:description":"Before starting with the steps involved in configuring a firewall in Linux, let\u2019s make sure we understand what a firewall is and how it works. Understanding what a firewall is and how it works: A firewall is network security software that monitors your network's incoming and outgoing traffic. In simple words, This is an intermediary system","og:url":"https:\/\/myresellerhome.com\/blog\/configure-a-firewall-in-linux\/","article:published_time":"2020-02-04T04:14:02+00:00","article:modified_time":"2022-02-28T10:33:24+00:00","twitter:card":"summary_large_image","twitter:title":"A Step-By-Step Guide on How to Configure a Firewall in Linux - My Reseller Home","twitter:description":"Before starting with the steps involved in configuring a firewall in Linux, let\u2019s make sure we understand what a firewall is and how it works. Understanding what a firewall is and how it works: A firewall is network security software that monitors your network's incoming and outgoing traffic. In simple words, This is an intermediary system"},"aioseo_meta_data":{"post_id":"1180","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2024-04-04 13:56:13","updated":"2025-08-08 11:54:26","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/myresellerhome.com\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/myresellerhome.com\/blog\/category\/general\/\" title=\"General\">General<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tA Step-By-Step Guide on How to Configure a Firewall in Linux\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/myresellerhome.com\/blog\/"},{"label":"General","link":"https:\/\/myresellerhome.com\/blog\/category\/general\/"},{"label":"A Step-By-Step Guide on How to Configure a Firewall in Linux","link":"https:\/\/myresellerhome.com\/blog\/configure-a-firewall-in-linux\/"}],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/pb3Hr0-j2","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":2582,"url":"https:\/\/myresellerhome.com\/blog\/what-are-the-different-types-of-firewalls\/","url_meta":{"origin":1180,"position":0},"title":"What are the different types of firewalls?","author":"MyResellerHome","date":"September 4, 2024","format":false,"excerpt":"Technology continues to be an important weapon in the arsenal of enterprise network security, despite the fact that it has been more than forty years since the concept of the network firewall was first brought up in the context of the discussion on network security. The usefulness of the firewall,\u2026","rel":"","context":"In &quot;Security&quot;","block_context":{"text":"Security","link":"https:\/\/myresellerhome.com\/blog\/category\/security\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/myresellerhome.com\/blog\/wp-content\/uploads\/2024\/09\/MRH-What-are-the-different-types-of-firewalls.jpg?fit=900%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/myresellerhome.com\/blog\/wp-content\/uploads\/2024\/09\/MRH-What-are-the-different-types-of-firewalls.jpg?fit=900%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/myresellerhome.com\/blog\/wp-content\/uploads\/2024\/09\/MRH-What-are-the-different-types-of-firewalls.jpg?fit=900%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/myresellerhome.com\/blog\/wp-content\/uploads\/2024\/09\/MRH-What-are-the-different-types-of-firewalls.jpg?fit=900%2C675&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":995,"url":"https:\/\/myresellerhome.com\/blog\/how-to-secure-your-vps-dedicated-servers\/","url_meta":{"origin":1180,"position":1},"title":"How to Secure your VPS\/Dedicated Servers","author":"MyResellerHome","date":"September 19, 2019","format":false,"excerpt":"Virtual Private Servers (VPSs) are a great solution for anyone looking to run their own web server. VPSs cater to you and your needs while giving you the freedom of running your own hardware. VPSs are powered by an operating system like Linux or Windows. This allows the customer to\u2026","rel":"","context":"In &quot;General&quot;","block_context":{"text":"General","link":"https:\/\/myresellerhome.com\/blog\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/myresellerhome.com\/blog\/wp-content\/uploads\/2019\/09\/vps-services.jpg?fit=730%2C327&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/myresellerhome.com\/blog\/wp-content\/uploads\/2019\/09\/vps-services.jpg?fit=730%2C327&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/myresellerhome.com\/blog\/wp-content\/uploads\/2019\/09\/vps-services.jpg?fit=730%2C327&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/myresellerhome.com\/blog\/wp-content\/uploads\/2019\/09\/vps-services.jpg?fit=730%2C327&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":2485,"url":"https:\/\/myresellerhome.com\/blog\/the-benefits-of-imunify360\/","url_meta":{"origin":1180,"position":2},"title":"The Benefits of Imunify360","author":"MyResellerHome","date":"January 22, 2024","format":false,"excerpt":"In a digital age with more powerful cyber dangers than ever, website protection is essential. Consider the damage if hackers stole or erased all your business data overnight. You wouldn't leave your brick-and-mortar store unlocked at night, so why risk your online property? Imunify360, a cutting-edge security technology, protects against\u2026","rel":"","context":"In &quot;Reseller Hosting Industry&quot;","block_context":{"text":"Reseller Hosting Industry","link":"https:\/\/myresellerhome.com\/blog\/category\/reseller-hosting-industry\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/blog.myresellerhome.com\/wp-content\/uploads\/2024\/01\/image-73.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/blog.myresellerhome.com\/wp-content\/uploads\/2024\/01\/image-73.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/blog.myresellerhome.com\/wp-content\/uploads\/2024\/01\/image-73.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/blog.myresellerhome.com\/wp-content\/uploads\/2024\/01\/image-73.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":2345,"url":"https:\/\/myresellerhome.com\/blog\/security-hardening-checklist-8-steps-for-windows-and-linux-servers\/","url_meta":{"origin":1180,"position":3},"title":"Security Hardening Checklist: 8 Steps for Windows and Linux Servers","author":"MyResellerHome","date":"January 27, 2023","format":false,"excerpt":"Whether you're running Linux or Windows, hardening your servers means finding potential weak spots in security and fixing them through configuration modifications. As the name implies, server hardening applies system hardening best practices to servers. To safeguard your operations and save money in the long term, you should harden your\u2026","rel":"","context":"In &quot;Reseller Hosting Industry&quot;","block_context":{"text":"Reseller Hosting Industry","link":"https:\/\/myresellerhome.com\/blog\/category\/reseller-hosting-industry\/"},"img":{"alt_text":"Security-Hardening-Checklist-8-Steps-for-Windows-and-Linux-Servers","src":"https:\/\/i0.wp.com\/myresellerhome.com\/blog\/wp-content\/uploads\/2023\/01\/Security-Hardening-Checklist-8-Steps-for-Windows-and-Linux-Servers.jpg?fit=900%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/myresellerhome.com\/blog\/wp-content\/uploads\/2023\/01\/Security-Hardening-Checklist-8-Steps-for-Windows-and-Linux-Servers.jpg?fit=900%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/myresellerhome.com\/blog\/wp-content\/uploads\/2023\/01\/Security-Hardening-Checklist-8-Steps-for-Windows-and-Linux-Servers.jpg?fit=900%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/myresellerhome.com\/blog\/wp-content\/uploads\/2023\/01\/Security-Hardening-Checklist-8-Steps-for-Windows-and-Linux-Servers.jpg?fit=900%2C675&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":2347,"url":"https:\/\/myresellerhome.com\/blog\/installing-immunify360-cpanel-is-the-best-way-to-ensure-the-safety-of-your-server\/","url_meta":{"origin":1180,"position":4},"title":"Installing Immunify360 cPanel is the best way to ensure the safety of your server.","author":"MyResellerHome","date":"January 30, 2023","format":false,"excerpt":"Are you considering ways to strengthen the security of your website? Installing Imunify360 cPanel is an excellent choice in this regard. Email notifications are sent out whenever there is a breach in the website's security by Imunify360. Also eliminates any malicious software and viruses that may be present on the\u2026","rel":"","context":"In &quot;Reseller Hosting Industry&quot;","block_context":{"text":"Reseller Hosting Industry","link":"https:\/\/myresellerhome.com\/blog\/category\/reseller-hosting-industry\/"},"img":{"alt_text":"nstalling-Immunify360-cPanel-is-the-best-way-to-ensure-the-safety-of-your-server","src":"https:\/\/i0.wp.com\/myresellerhome.com\/blog\/wp-content\/uploads\/2023\/01\/Installing-Immunify360-cPanel-is-the-best-way-to-ensure-the-safety-of-your-server.jpg?fit=900%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/myresellerhome.com\/blog\/wp-content\/uploads\/2023\/01\/Installing-Immunify360-cPanel-is-the-best-way-to-ensure-the-safety-of-your-server.jpg?fit=900%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/myresellerhome.com\/blog\/wp-content\/uploads\/2023\/01\/Installing-Immunify360-cPanel-is-the-best-way-to-ensure-the-safety-of-your-server.jpg?fit=900%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/myresellerhome.com\/blog\/wp-content\/uploads\/2023\/01\/Installing-Immunify360-cPanel-is-the-best-way-to-ensure-the-safety-of-your-server.jpg?fit=900%2C675&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":2463,"url":"https:\/\/myresellerhome.com\/blog\/tips-for-keeping-your-shared-hosting-secure-2\/","url_meta":{"origin":1180,"position":5},"title":"Tips for Keeping Your Shared Hosting Secure","author":"MyResellerHome","date":"November 23, 2023","format":false,"excerpt":"The most common kind of web hosting service is known as shared hosting. It is perfect for beginners. It is affordable, reliable, and scalable. However, shared hosting security is always a problem. In this article, we will review some security tips for shared hosting. First, let us define shared hosting.\u2026","rel":"","context":"In &quot;Reseller Hosting Industry&quot;","block_context":{"text":"Reseller Hosting Industry","link":"https:\/\/myresellerhome.com\/blog\/category\/reseller-hosting-industry\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/blog.myresellerhome.com\/wp-content\/uploads\/2023\/11\/image-16.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/blog.myresellerhome.com\/wp-content\/uploads\/2023\/11\/image-16.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/blog.myresellerhome.com\/wp-content\/uploads\/2023\/11\/image-16.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/blog.myresellerhome.com\/wp-content\/uploads\/2023\/11\/image-16.png?resize=700%2C400&ssl=1 2x"},"classes":[]}],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/myresellerhome.com\/blog\/wp-content\/uploads\/2021\/04\/firewall-linux.jpg?fit=730%2C327&ssl=1","post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/myresellerhome.com\/blog\/wp-json\/wp\/v2\/posts\/1180","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myresellerhome.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myresellerhome.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myresellerhome.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myresellerhome.com\/blog\/wp-json\/wp\/v2\/comments?post=1180"}],"version-history":[{"count":0,"href":"https:\/\/myresellerhome.com\/blog\/wp-json\/wp\/v2\/posts\/1180\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/myresellerhome.com\/blog\/wp-json\/wp\/v2\/media\/1599"}],"wp:attachment":[{"href":"https:\/\/myresellerhome.com\/blog\/wp-json\/wp\/v2\/media?parent=1180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myresellerhome.com\/blog\/wp-json\/wp\/v2\/categories?post=1180"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myresellerhome.com\/blog\/wp-json\/wp\/v2\/tags?post=1180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}