{"id":4191,"date":"2015-10-26T16:17:23","date_gmt":"2015-10-26T16:17:23","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=4191"},"modified":"2015-10-26T16:18:43","modified_gmt":"2015-10-26T16:18:43","slug":"linux-firewall-iptables","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=4191","title":{"rendered":"Linux Firewall iptables"},"content":{"rendered":"<ul>\n<li>-A <chain> = append a rule to a chain<\/li>\n<li>-I <chain> [rulenum] = insert a rule to a chain [at position <rulenum>]<\/li>\n<li>-R <chain> [rulenum] = replace a rule from a chain<\/li>\n<li>-D <chain> <rulenum> = delete a rule from a chain<\/li>\n<\/ul>\n<p><a href=\"https:\/\/en.wikipedia.org\/wiki\/Iptables\">Wikipedia: iptables<\/a><br \/>\n<a href=\"https:\/\/help.ubuntu.com\/community\/IptablesHowTo\">Ubuntu: IptablesHowTo<\/a><br \/>\n<a href=\"http:\/\/serverfault.com\/questions\/472258\/difference-between-iptables-a-and-i-option\">Difference between iptables -A and -I option<\/a><br \/>\n<a href=\"www.gtcomm.net\/blog\/linux-native-firewall-introduction-to-iptables\/\">Linux Native Firewall : Introduction to IPtables<\/a><br \/>\n<a href=\"http:\/\/unix.stackexchange.com\/questions\/129455\/iptables-in-linux\">Iptables in linux<\/a><\/p>\n<h3>Ubuntu<\/h3>\n<p><a href=\"https:\/\/help.ubuntu.com\/community\/UFW\">UFW &#8211; Uncomplicated Firewall<\/a><\/p>\n<h3>Fedora<\/h3>\n<p><a href=\"https:\/\/access.redhat.com\/documentation\/en-US\/Red_Hat_Enterprise_Linux\/7\/html\/Security_Guide\/sec-Using_Firewalls.html\">RedHat: Using Firewalls<\/a><\/p>\n<table>\n<tr>\n<td>\n<a href=\"http:\/\/blog.bachi.net\/wp-content\/uploads\/2015\/10\/firewall_stack.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.bachi.net\/wp-content\/uploads\/2015\/10\/firewall_stack-300x274.png\" alt=\"firewall_stack\" width=\"300\" height=\"274\" class=\"alignleft size-medium wp-image-4205\" srcset=\"https:\/\/blog.bachi.net\/wp-content\/uploads\/2015\/10\/firewall_stack-300x274.png 300w, https:\/\/blog.bachi.net\/wp-content\/uploads\/2015\/10\/firewall_stack-624x569.png 624w, https:\/\/blog.bachi.net\/wp-content\/uploads\/2015\/10\/firewall_stack.png 660w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n<\/td>\n<\/tr>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>-A = append a rule to a chain -I [rulenum] = insert a rule to a chain [at position ] -R [rulenum] = replace a rule from a chain -D = delete a rule from a chain Wikipedia: iptables Ubuntu: IptablesHowTo Difference between iptables -A and -I option Linux Native Firewall : Introduction to IPtables [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4191","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/4191","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4191"}],"version-history":[{"count":2,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/4191\/revisions"}],"predecessor-version":[{"id":4206,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/4191\/revisions\/4206"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}