{"id":13516,"date":"2025-03-07T14:48:50","date_gmt":"2025-03-07T14:48:50","guid":{"rendered":"https:\/\/greenwebpage.com\/community\/?p=13516"},"modified":"2025-03-11T08:30:51","modified_gmt":"2025-03-11T08:30:51","slug":"how-to-add-comments-to-ufw-rules","status":"publish","type":"post","link":"https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/","title":{"rendered":"How to Add Comments to UFW Rules: 7 Mostly Used Examples"},"content":{"rendered":"\n<p>Comments are annotations that accompany UFW rules, providing clarity on the rule&#8217;s intent, which is particularly useful when managing a large number of rules. Adding comments to UFW rules is a best practice for system administrators as it provides clarity on the purpose of each rule, making management and auditing of the firewall easier.<\/p>\n\n\n\n<p>With the release of Ubuntu 24.04, adding comments to your UFW rules has become an essential practice for system administrators. This not only helps in understanding the purpose behind each rule but also aids in maintaining a clear and documented firewall policy.<\/p>\n\n\n\n<p>Here&#8217;s a comprehensive guide on how to add, update, and remove comments from UFW rules.<\/p>\n\n\n\n<p><strong>Table of Content<\/strong><\/p>\n\n\n\n<p><a href=\"#How-to-Add-Comments-to-UFW-Rules\">How to Add Comments to UFW Rules<\/a><\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<ul class=\"wp-block-list\">\n<li><a href=\"#Example-1:-Adding-Comments-to-New-UFW-Rules\">Adding Comments to New UFW Rules<\/a><\/li>\n\n\n\n<li><a href=\"#Example-2:-Allowing-HTTP-and-HTTPS-Traffic\">Allowing HTTP and HTTPS Traffic<\/a><\/li>\n\n\n\n<li><a href=\"#Example-3:-Restricting-Access-to-a-Specific-IP\">Restricting Access to a Specific IP<\/a><\/li>\n\n\n\n<li><a href=\"#Example-4:-Blocking-a-Spammer's-IP\">Blocking a Spammer&#8217;s IP<\/a><\/li>\n\n\n\n<li><a href=\"#Example-5:-Updating-Comments-on-Existing-UFW-Rules\">Updating Comments on Existing UFW Rules<\/a><\/li>\n\n\n\n<li><a href=\"#Example-6:-Removing-Comments-from-UFW-Rules\">Removing Comments from UFW Rules<\/a><\/li>\n\n\n\n<li><a href=\"#Viewing-UFW-Rules-with-Comments\">Viewing UFW Rules with Comments<\/a><\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<p><a href=\"#Conclusion\">Conclusion<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"How-to-Add-Comments-to-UFW-Rules\"><a id=\"post-13516-_3fjlbxpnoe8\"><\/a>How to Add Comments to UFW Rules<\/h2>\n\n\n\n<p>Before we dive into methods, it&#8217;s crucial to understand that UFW doesn&#8217;t inherently support comments within its rules. This means you can&#8217;t directly add explanatory text to a rule like you would in other configuration files. However, there are workarounds to enhance rule readability and maintainability.<\/p>\n\n\n\n<p><strong>Syntax<\/strong><\/p>\n\n\n\n<p>Adding comments to UFW rules is straightforward. When creating a new rule, you can include a comment by appending the <strong>comment<\/strong> keyword followed by the desired annotation in single quotes. Here&#8217;s the syntax:<\/p>\n\n\n\n<pre>sudo ufw allow from any to any port 22 proto tcp comment 'Allow SSH access'<\/pre>\n\n\n\n<p>This command allows TCP traffic on port 22 and includes a comment indicating that the rule is for allowing SSH access.<\/p>\n\n\n\n<p>Let&#8217;s look at some practical examples of how to add comments to various UFW rules:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Example-1:-Adding-Comments-to-New-UFW-Rules\"><a id=\"post-13516-_8w5jugiquo4x\"><\/a>Example 1: Adding Comments to New UFW Rules<\/h3>\n\n\n\n<p>To add a comment to a new UFW rule, you can use the following syntax. This command allows SSH connections from the IP address <strong>192.168.0.118<\/strong> and adds a comment explaining the rule&#8217;s purpose:<\/p>\n\n\n\n<pre>sudo ufw allow from 192.168.0.118 to any port 22 comment 'SSH access for 192.168.0.118'<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1240\" height=\"209\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-1.png\" alt=\"\" class=\"wp-image-13517\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-1.png 1240w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-1-300x51.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-1-1024x173.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-1-768x129.png 768w\" sizes=\"(max-width: 1240px) 100vw, 1240px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Note<\/strong>: Use clear and concise names for rules. This can often convey the rule&#8217;s purpose. While this doesn&#8217;t technically add a comment, the rule name serves a similar purpose.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Example-2:-Allowing-HTTP-and-HTTPS-Traffic\"><a id=\"post-13516-_nl4yshe8j49e\"><\/a>Example 2: Allowing HTTP and HTTPS Traffic<\/h3>\n\n\n\n<p>This rule offers traffic on both HTTP as well as HTTPS ports with a comment explaining its purpose:<\/p>\n\n\n\n<pre>sudo ufw allow proto tcp from any to any port 80,443 comment 'Allow web server traffic'<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1238\" height=\"210\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-2.png\" alt=\"\" class=\"wp-image-13518\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-2.png 1238w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-2-300x51.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-2-1024x174.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-2-768x130.png 768w\" sizes=\"(max-width: 1238px) 100vw, 1238px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Example-3:-Restricting-Access-to-a-Specific-IP\"><a id=\"post-13516-_dvd3jjwyp8np\"><\/a>Example 3: Restricting Access to a Specific IP<\/h3>\n\n\n\n<p>This rule permits MySQL traffic from a particular IP address, with the comment providing context:<\/p>\n\n\n\n<pre>sudo ufw allow from 192.168.0.118 to any port 3306 comment 'Allow MySQL from specific IP'<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1243\" height=\"170\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-3.png\" alt=\"\" class=\"wp-image-13519\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-3.png 1243w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-3-300x41.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-3-1024x140.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-3-768x105.png 768w\" sizes=\"(max-width: 1243px) 100vw, 1243px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Example-4:-Blocking-a-Spammer's-IP\"><a id=\"post-13516-_e6ursov75vjh\"><\/a>Example 4: Blocking a Spammer&#8217;s IP<\/h3>\n\n\n\n<p>During audits, comments can quickly convey the intent of each rule. Here, traffic from a known spammer&#8217;s IP is blocked, with the comment indicating the reason for the rule:<\/p>\n\n\n\n<pre>sudo ufw deny from 203.0.113.25 comment 'Block known spammer IP address'<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1244\" height=\"173\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-4.png\" alt=\"\" class=\"wp-image-13520\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-4.png 1244w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-4-300x42.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-4-1024x142.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-4-768x107.png 768w\" sizes=\"(max-width: 1244px) 100vw, 1244px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Example-5:-Updating-Comments-on-Existing-UFW-Rules\"><a id=\"post-13516-_dj1abc7lb4rc\"><\/a>Example 5: Updating Comments on Existing UFW Rules<\/h3>\n\n\n\n<p>They help other administrators understand the rules without having to decipher them from scratch. Simply reissue the rule with the new comment:<\/p>\n\n\n\n<pre>sudo ufw allow from 192.168.0.118 to any port 22 comment 'Updated comment for SSH rule'<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1244\" height=\"169\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-5.png\" alt=\"\" class=\"wp-image-13521\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-5.png 1244w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-5-300x41.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-5-1024x139.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-5-768x104.png 768w\" sizes=\"(max-width: 1244px) 100vw, 1244px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>This overwrites the previous comment with the new one.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Example-6:-Removing-Comments-from-UFW-Rules\"><a id=\"post-13516-_dk02zh1m0ymc\"><\/a>Example 6: Removing Comments from UFW Rules<\/h3>\n\n\n\n<p>To remove a comment from an existing rule, use the same command as adding a comment but with an empty string for the comment text:<\/p>\n\n\n\n<pre>sudo ufw allow from 192.168.0.118 to any port 22 comment ''<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1233\" height=\"141\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-6.png\" alt=\"\" class=\"wp-image-13522\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-6.png 1233w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-6-300x34.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-6-1024x117.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-6-768x88.png 768w\" sizes=\"(max-width: 1233px) 100vw, 1233px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>This effectively removes the comment from the rule.<\/p>\n\n\n\n<p>If you need to remove a comment from a rule, you can do so by reissuing the rule without the comment:<\/p>\n\n\n\n<pre>sudo ufw allow from any to any port 22 proto tcp<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1246\" height=\"174\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-7.png\" alt=\"\" class=\"wp-image-13523\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-7.png 1246w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-7-300x42.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-7-1024x143.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-7-768x107.png 768w\" sizes=\"(max-width: 1246px) 100vw, 1246px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>This output updates the rule to remove the comment.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Viewing-UFW-Rules-with-Comments\"><a id=\"post-13516-_y7doshphr81g\"><\/a>Example 7: Viewing UFW Rules with Comments<\/h3>\n\n\n\n<p>Comments are incredibly useful for several reasons: They serve as documentation for why a particular rule was implemented. To view all UFW rules along with their comments, use the verbose status command:<\/p>\n\n\n\n<pre>sudo ufw status verbose<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1519\" height=\"613\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-8.png\" alt=\"\" class=\"wp-image-13524\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-8.png 1519w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-8-300x121.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-8-1024x413.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/word-image-13516-8-768x310.png 768w\" sizes=\"(max-width: 1519px) 100vw, 1519px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>This displays a list of all rules with detailed information, including comments.<\/p>\n\n\n\n<p>By following these methods and best practices, you can maintain a well-documented and manageable firewall configuration. Remember, a well-commented firewall is a sign of a well-managed security policy.<\/p>\n\n\n\n<p><strong>Bonus Tip: External Documentation<\/strong><\/p>\n\n\n\n<p>Maintain a separate text file or document to explain the rationale behind each rule.<\/p>\n\n\n\n<p>Reference the file in a comment within the script or configuration file used to manage UFW rules.<\/p>\n\n\n\n<p># See &#8216;ufw_rules_explanation.txt&#8217; for detailed comments on each rule:<\/p>\n\n\n\n<pre>sudo ufw allow from 192.168.1.0\/24 to any port 22<\/pre>\n\n\n\n<p><strong>Note<\/strong>: While these methods can significantly improve rule understanding, they are not a direct substitute for built-in comments. Always prioritize clear and descriptive rule names and maintain external documentation for complex firewall configurations.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Conclusion\"><a id=\"post-13516-_uv5uz5i8kh7t\"><\/a>Conclusion<\/h2>\n\n\n\n<p>Adding comments to UFW rules is a best practice that enhances the manageability and documentation of your firewall policies. By following the examples and guidelines provided, you can ensure that your firewall rules are well-documented and easier to understand for anyone who manages or audits your system&#8217;s security. They can describe the purpose of the rule, the services it affects, or any other relevant information that will assist in future rule audits or troubleshooting.<\/p>\n\n\n\t\t\t\t\t\t\t<h3 style=\"margin-bottom:20px;display:block;width:100%;margin-top:10px\">Frequently Asked Questions <\/h3>\r\n\t\t\t\t\t\t<style>\r\n\t\t\t\t<style>\r\n#wpsm_accordion_13527 .wpsm_panel-heading{\r\n\tpadding:0px !important;\r\n}\r\n#wpsm_accordion_13527 .wpsm_panel-title {\r\n\tmargin:0px !important; \r\n\ttext-transform:none !important;\r\n\tline-height: 1 !important;\r\n}\r\n#wpsm_accordion_13527 .wpsm_panel-title a{\r\n\ttext-decoration:none;\r\n\toverflow:hidden;\r\n\tdisplay:block;\r\n\tpadding:0px;\r\n\tfont-size: 18px !important;\r\n\tfont-family: Open Sans !important;\r\n\tcolor:#000000 !important;\r\n\tborder-bottom:0px !important;\r\n}\r\n\r\n#wpsm_accordion_13527 .wpsm_panel-title a:focus {\r\noutline: 0px !important;\r\n}\r\n\r\n#wpsm_accordion_13527 .wpsm_panel-title a:hover, #wpsm_accordion_13527 .wpsm_panel-title a:focus {\r\n\tcolor:#000000 !important;\r\n}\r\n#wpsm_accordion_13527 .acc-a{\r\n\tcolor: #000000 !important;\r\n\tbackground-color:#e8e8e8 !important;\r\n\tborder-color: #ddd;\r\n}\r\n#wpsm_accordion_13527 .wpsm_panel-default > .wpsm_panel-heading{\r\n\tcolor: #000000 !important;\r\n\tbackground-color: #e8e8e8 !important;\r\n\tborder-color: #e8e8e8 !important;\r\n\tborder-top-left-radius: 0px;\r\n\tborder-top-right-radius: 0px;\r\n}\r\n#wpsm_accordion_13527 .wpsm_panel-default {\r\n\t\tborder:1px solid transparent !important;\r\n\t}\r\n#wpsm_accordion_13527 {\r\n\tmargin-bottom: 20px;\r\n\toverflow: hidden;\r\n\tfloat: none;\r\n\twidth: 100%;\r\n\tdisplay: block;\r\n}\r\n#wpsm_accordion_13527 .ac_title_class{\r\n\tdisplay: block;\r\n\tpadding-top: 12px;\r\n\tpadding-bottom: 12px;\r\n\tpadding-left: 15px;\r\n\tpadding-right: 15px;\r\n}\r\n#wpsm_accordion_13527  .wpsm_panel {\r\n\toverflow:hidden;\r\n\t-webkit-box-shadow: 0 0px 0px rgba(0, 0, 0, .05);\r\n\tbox-shadow: 0 0px 0px rgba(0, 0, 0, .05);\r\n\t\tborder-radius: 4px;\r\n\t}\r\n#wpsm_accordion_13527  .wpsm_panel + .wpsm_panel {\r\n\t\tmargin-top: 5px;\r\n\t}\r\n#wpsm_accordion_13527  .wpsm_panel-body{\r\n\tbackground-color:#ffffff !important;\r\n\tcolor:#000000 !important;\r\n\tborder-top-color: #e8e8e8 !important;\r\n\tfont-size:16px !important;\r\n\tfont-family: Open Sans !important;\r\n\toverflow: hidden;\r\n\t\tborder: 2px solid #e8e8e8 !important;\r\n\t}\r\n\r\n#wpsm_accordion_13527 .ac_open_cl_icon{\r\n\tbackground-color:#e8e8e8 !important;\r\n\tcolor: #000000 !important;\r\n\tfloat:right !important;\r\n\tpadding-top: 12px !important;\r\n\tpadding-bottom: 12px !important;\r\n\tline-height: 1.0 !important;\r\n\tpadding-left: 15px !important;\r\n\tpadding-right: 15px !important;\r\n\tdisplay: inline-block !important;\r\n}\r\n\r\n\t\t\t\r\n\t\t\t<\/style>\t\r\n\t\t\t<\/style>\r\n\t\t\t<div class=\"wpsm_panel-group\" id=\"wpsm_accordion_13527\" >\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t<!-- Inner panel Start -->\r\n\t\t\t\t\t<div class=\"wpsm_panel wpsm_panel-default\">\r\n\t\t\t\t\t\t<div class=\"wpsm_panel-heading\" role=\"tab\" >\r\n\t\t\t\t\t\t  <h4 class=\"wpsm_panel-title\">\r\n\t\t\t\t\t\t\t<a  class=\"\"  data-toggle=\"collapse\" data-parent=\"#wpsm_accordion_13527 \" href=\"javascript:void(0)\" data-target=\"#ac_13527_collapse1\" onclick=\"do_resize()\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"ac_open_cl_icon fa fa-plus\"><\/span>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t\t<span class=\"ac_title_class\">\r\n\t\t\t\t\t\t\t\t\tWhy should I add comments to UFW rules?\t\t\t\t\t\t\t\t<\/span>\r\n\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t  <\/h4>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<div id=\"ac_13527_collapse1\" class=\"wpsm_panel-collapse collapse \"  >\r\n\t\t\t\t\t\t  <div class=\"wpsm_panel-body\">\r\n\t\t\t\t\t\t\tComments help document and explain the purpose of specific rules, making it easier to understand the configuration later or for others managing the firewall.\t\t\t\t\t\t  <\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<!-- Inner panel End -->\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t<!-- Inner panel Start -->\r\n\t\t\t\t\t<div class=\"wpsm_panel wpsm_panel-default\">\r\n\t\t\t\t\t\t<div class=\"wpsm_panel-heading\" role=\"tab\" >\r\n\t\t\t\t\t\t  <h4 class=\"wpsm_panel-title\">\r\n\t\t\t\t\t\t\t<a  class=\"collapsed\"  data-toggle=\"collapse\" data-parent=\"#wpsm_accordion_13527 \" href=\"javascript:void(0)\" data-target=\"#ac_13527_collapse2\" onclick=\"do_resize()\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"ac_open_cl_icon fa fa-plus\"><\/span>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t\t<span class=\"ac_title_class\">\r\n\t\t\t\t\t\t\t\t\tHow do I add comments when creating a UFW rule?\t\t\t\t\t\t\t\t<\/span>\r\n\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t  <\/h4>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<div id=\"ac_13527_collapse2\" class=\"wpsm_panel-collapse collapse \"  >\r\n\t\t\t\t\t\t  <div class=\"wpsm_panel-body\">\r\n\t\t\t\t\t\t\tUse the comment option when adding a rule, e.g., <code>sudo ufw allow from 192.168.1.10 to any port 22 comment 'SSH access for admin'<\/code>.\t\t\t\t\t\t  <\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<!-- Inner panel End -->\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t<!-- Inner panel Start -->\r\n\t\t\t\t\t<div class=\"wpsm_panel wpsm_panel-default\">\r\n\t\t\t\t\t\t<div class=\"wpsm_panel-heading\" role=\"tab\" >\r\n\t\t\t\t\t\t  <h4 class=\"wpsm_panel-title\">\r\n\t\t\t\t\t\t\t<a  class=\"collapsed\"  data-toggle=\"collapse\" data-parent=\"#wpsm_accordion_13527 \" href=\"javascript:void(0)\" data-target=\"#ac_13527_collapse3\" onclick=\"do_resize()\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"ac_open_cl_icon fa fa-plus\"><\/span>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t\t<span class=\"ac_title_class\">\r\n\t\t\t\t\t\t\t\t\tCan I add a comment to an existing UFW rule?\t\t\t\t\t\t\t\t<\/span>\r\n\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t  <\/h4>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<div id=\"ac_13527_collapse3\" class=\"wpsm_panel-collapse collapse \"  >\r\n\t\t\t\t\t\t  <div class=\"wpsm_panel-body\">\r\n\t\t\t\t\t\t\tYou can't directly add a comment to an existing rule, but you can delete the rule and recreate it with a comment.\t\t\t\t\t\t  <\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<!-- Inner panel End -->\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t<!-- Inner panel Start -->\r\n\t\t\t\t\t<div class=\"wpsm_panel wpsm_panel-default\">\r\n\t\t\t\t\t\t<div class=\"wpsm_panel-heading\" role=\"tab\" >\r\n\t\t\t\t\t\t  <h4 class=\"wpsm_panel-title\">\r\n\t\t\t\t\t\t\t<a  class=\"collapsed\"  data-toggle=\"collapse\" data-parent=\"#wpsm_accordion_13527 \" href=\"javascript:void(0)\" data-target=\"#ac_13527_collapse4\" onclick=\"do_resize()\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"ac_open_cl_icon fa fa-plus\"><\/span>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t\t<span class=\"ac_title_class\">\r\n\t\t\t\t\t\t\t\t\tHow do I view UFW rules with comments?\t\t\t\t\t\t\t\t<\/span>\r\n\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t  <\/h4>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<div id=\"ac_13527_collapse4\" class=\"wpsm_panel-collapse collapse \"  >\r\n\t\t\t\t\t\t  <div class=\"wpsm_panel-body\">\r\n\t\t\t\t\t\t\tUse <code>sudo ufw status verbose<\/code> to display the UFW rules along with any comments you have added.\t\t\t\t\t\t  <\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<!-- Inner panel End -->\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t<!-- Inner panel Start -->\r\n\t\t\t\t\t<div class=\"wpsm_panel wpsm_panel-default\">\r\n\t\t\t\t\t\t<div class=\"wpsm_panel-heading\" role=\"tab\" >\r\n\t\t\t\t\t\t  <h4 class=\"wpsm_panel-title\">\r\n\t\t\t\t\t\t\t<a  class=\"collapsed\"  data-toggle=\"collapse\" data-parent=\"#wpsm_accordion_13527 \" href=\"javascript:void(0)\" data-target=\"#ac_13527_collapse5\" onclick=\"do_resize()\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"ac_open_cl_icon fa fa-plus\"><\/span>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t\t<span class=\"ac_title_class\">\r\n\t\t\t\t\t\t\t\t\tCan I modify or edit a comment on a UFW rule after it&#039;s been set?\t\t\t\t\t\t\t\t<\/span>\r\n\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t  <\/h4>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<div id=\"ac_13527_collapse5\" class=\"wpsm_panel-collapse collapse \"  >\r\n\t\t\t\t\t\t  <div class=\"wpsm_panel-body\">\r\n\t\t\t\t\t\t\tNo, UFW doesn't provide a way to edit comments. You would need to delete the existing rule and recreate it with a new comment.\t\t\t\t\t\t  <\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<!-- Inner panel End -->\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\r\n<script type=\"text\/javascript\">\r\n\t\r\n\t\tfunction do_resize(){\r\n\r\n\t\t\tvar width=jQuery( '.wpsm_panel .wpsm_panel-body iframe' ).width();\r\n\t\t\tvar height=jQuery( '.wpsm_panel .wpsm_panel-body iframe' ).height();\r\n\r\n\t\t\tvar toggleSize = true;\r\n\t\t\tjQuery('iframe').animate({\r\n\t\t\t    width: toggleSize ? width : 640,\r\n\t\t\t    height: toggleSize ? height : 360\r\n\t\t\t  }, 250);\r\n\r\n\t\t\t  toggleSize = !toggleSize;\r\n\t\t}\r\n\t\t\r\n<\/script>\t\n\n\n\n<p><\/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>Comments are annotations that accompany UFW rules, providing clarity on the rule&#8217;s intent, which is particularly useful when managing a large number of rules. Adding comments to UFW rules is a best practice for system administrators as it provides clarity on the purpose of each rule, making management and auditing of the firewall easier. With [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":13711,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[717,225,716,718],"class_list":["post-13516","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-add-comments","tag-ufw","tag-ufw-rules","tag-uncomplicated-firewall"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Add Comments to UFW Rules: 7 Mostly Used Examples<\/title>\n<meta name=\"description\" content=\"This is a comprehensive guide on how to add, update, and remove comments from UFW rules. Learn more in this article.\" \/>\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-add-comments-to-ufw-rules\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Add Comments to UFW Rules: 7 Mostly Used Examples\" \/>\n<meta property=\"og:description\" content=\"This is a comprehensive guide on how to add, update, and remove comments from UFW rules. Learn more in this article.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/\" \/>\n<meta property=\"og:site_name\" content=\"Greenwebpage Community\" \/>\n<meta property=\"article:published_time\" content=\"2025-03-07T14:48:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-11T08:30:51+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/How-to-add-comments-to-UFW-rules.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=\"6 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-add-comments-to-ufw-rules\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/\"},\"author\":{\"name\":\"Karim Buzdar\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\"},\"headline\":\"How to Add Comments to UFW Rules: 7 Mostly Used Examples\",\"datePublished\":\"2025-03-07T14:48:50+00:00\",\"dateModified\":\"2025-03-11T08:30:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/\"},\"wordCount\":794,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/How-to-add-comments-to-UFW-rules.jpg\",\"keywords\":[\"Add comments\",\"UFW\",\"UFW rules\",\"Uncomplicated Firewall\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/\",\"name\":\"How to Add Comments to UFW Rules: 7 Mostly Used Examples\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/How-to-add-comments-to-UFW-rules.jpg\",\"datePublished\":\"2025-03-07T14:48:50+00:00\",\"dateModified\":\"2025-03-11T08:30:51+00:00\",\"description\":\"This is a comprehensive guide on how to add, update, and remove comments from UFW rules. Learn more in this article.\",\"breadcrumb\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/#primaryimage\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/How-to-add-comments-to-UFW-rules.jpg\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/How-to-add-comments-to-UFW-rules.jpg\",\"width\":1020,\"height\":600,\"caption\":\"How to add comments to UFW rules\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/greenwebpage.com\/community\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Add Comments to UFW Rules: 7 Mostly Used Examples\"}]},{\"@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 Add Comments to UFW Rules: 7 Mostly Used Examples","description":"This is a comprehensive guide on how to add, update, and remove comments from UFW rules. Learn more in this article.","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-add-comments-to-ufw-rules\/","og_locale":"en_US","og_type":"article","og_title":"How to Add Comments to UFW Rules: 7 Mostly Used Examples","og_description":"This is a comprehensive guide on how to add, update, and remove comments from UFW rules. Learn more in this article.","og_url":"https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/","og_site_name":"Greenwebpage Community","article_published_time":"2025-03-07T14:48:50+00:00","article_modified_time":"2025-03-11T08:30:51+00:00","og_image":[{"width":1020,"height":600,"url":"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/How-to-add-comments-to-UFW-rules.jpg","type":"image\/jpeg"}],"author":"Karim Buzdar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Karim Buzdar","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/#article","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/"},"author":{"name":"Karim Buzdar","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8"},"headline":"How to Add Comments to UFW Rules: 7 Mostly Used Examples","datePublished":"2025-03-07T14:48:50+00:00","dateModified":"2025-03-11T08:30:51+00:00","mainEntityOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/"},"wordCount":794,"commentCount":0,"publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/How-to-add-comments-to-UFW-rules.jpg","keywords":["Add comments","UFW","UFW rules","Uncomplicated Firewall"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/","url":"https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/","name":"How to Add Comments to UFW Rules: 7 Mostly Used Examples","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/#website"},"primaryImageOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/#primaryimage"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/How-to-add-comments-to-UFW-rules.jpg","datePublished":"2025-03-07T14:48:50+00:00","dateModified":"2025-03-11T08:30:51+00:00","description":"This is a comprehensive guide on how to add, update, and remove comments from UFW rules. Learn more in this article.","breadcrumb":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/#primaryimage","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/How-to-add-comments-to-UFW-rules.jpg","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/02\/How-to-add-comments-to-UFW-rules.jpg","width":1020,"height":600,"caption":"How to add comments to UFW rules"},{"@type":"BreadcrumbList","@id":"https:\/\/greenwebpage.com\/community\/how-to-add-comments-to-ufw-rules\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/greenwebpage.com\/community\/"},{"@type":"ListItem","position":2,"name":"How to Add Comments to UFW Rules: 7 Mostly Used Examples"}]},{"@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\/13516","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=13516"}],"version-history":[{"count":4,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/13516\/revisions"}],"predecessor-version":[{"id":13763,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/13516\/revisions\/13763"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media\/13711"}],"wp:attachment":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media?parent=13516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/categories?post=13516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/tags?post=13516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}