{"id":512,"date":"2012-08-26T20:15:19","date_gmt":"2012-08-26T11:15:19","guid":{"rendered":"http:\/\/auctionpro.co.kr\/WPress\/?p=512"},"modified":"2018-12-24T13:48:03","modified_gmt":"2018-12-24T04:48:03","slug":"iptables-%ec%b5%9c%ea%b7%bc-%eb%b0%a9%ed%99%94%eb%b2%bd-%ec%84%a4%ec%a0%95%ec%9c%bc%eb%a1%9c-%ec%82%ac%ec%9a%a9-%ec%84%a4%ec%a0%95","status":"publish","type":"post","link":"https:\/\/www.auctionpro.co.kr\/?p=512","title":{"rendered":"iptables \ucd5c\uadfc \ubc29\ud654\ubcbd \uc124\uc815\uc73c\ub85c \uc0ac\uc6a9 \uc124\uc815"},"content":{"rendered":"<p>[root@~]# vi \/etc\/sysconfig\/iptables-config<\/p>\n<p># Save current firewall rules on restart.<br \/>\n#&nbsp;&nbsp; Value: yes|no,&nbsp; default: no<br \/>\n# Saves all firewall rules to \/etc\/sysconfig\/iptables if firewall gets<br \/>\n# restarted.<br \/>\nIPTABLES_SAVE_ON_RESTART=&#8221;<span style=\"color: #ff0000;\">yes<\/span>&#8221;<\/p>\n<p># Save (and restore) rule and chain counter.<br \/>\n#&nbsp;&nbsp; Value: yes|no,&nbsp; default: no<br \/>\n# Save counters for rules and chains to \/etc\/sysconfig\/iptables if<br \/>\n# &#8216;service iptables save&#8217; is called or on stop or restart if SAVE_ON_STOP or<br \/>\n# SAVE_ON_RESTART is enabled.<br \/>\nIPTABLES_SAVE_COUNTER=&#8221;<span style=\"color: #ff0000;\">yes<\/span>&#8221;<\/p>\n<h1 class=\"title\">\uc5d0\ub7ec : \uc801\uc6a9\uc624\ub958<br \/>\nERROR: iptables: Index of deletion too big<\/h1>\n<pre class=\"hljs bash\"><code class=\"bash\">ERROR: iptables: Index of deletion too big<\/code><\/pre>\n<pre class=\"hljs bash\"><code class=\"bash\">iptables-save &gt;\/tmp\/somefile\nvi \/tmp\/somefile\niptables-restore &lt; \/tmp\/somefile<\/code><\/pre>\n<p>\ucc38\uc870 : https:\/\/www.jianshu.com\/p\/6617dc9ba7f7<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>[root@~]# vi \/etc\/sysconfig\/iptables-config # Save current firewall rules on restart. #&nbsp;&nbsp; Value: yes|no,&nbsp; default: no # Saves all firewall rules to \/etc\/sysconfig\/iptables if firewall gets <a class=\"mh-excerpt-more\" href=\"https:\/\/www.auctionpro.co.kr\/?p=512\" title=\"iptables \ucd5c\uadfc \ubc29\ud654\ubcbd \uc124\uc815\uc73c\ub85c \uc0ac\uc6a9 \uc124\uc815\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[11],"tags":[],"class_list":["post-512","post","type-post","status-publish","format-standard","hentry","category-centos"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/512","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=512"}],"version-history":[{"count":0,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/512\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=512"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}