{"id":76,"date":"2012-06-17T10:36:12","date_gmt":"2012-06-17T10:36:12","guid":{"rendered":"http:\/\/rmnp.ilamtoday.com\/?p=76"},"modified":"2012-06-17T10:36:12","modified_gmt":"2012-06-17T10:36:12","slug":"%d9%81%d8%a7%db%8c%d8%b1%d9%88%d8%a7%d9%84-%d8%a8%d8%b1%d8%a7%db%8c-%d9%85%db%8c%da%a9%d8%b1%d9%88%d8%aa%db%8c%da%a9","status":"publish","type":"post","link":"https:\/\/rmnp.ir\/index.php\/2012\/06\/17\/%d9%81%d8%a7%db%8c%d8%b1%d9%88%d8%a7%d9%84-%d8%a8%d8%b1%d8%a7%db%8c-%d9%85%db%8c%da%a9%d8%b1%d9%88%d8%aa%db%8c%da%a9\/","title":{"rendered":"Simple Mikrotik Firewall"},"content":{"rendered":"<p>Drop invalid connections<\/p>\n<p>[code]<br \/>\n\/ip firewall filter<br \/>\nadd chain=forward connection-state=established comment=&#8221;allow established connections&#8221;<br \/>\nadd chain=forward connection-state=related comment=&#8221;allow related connections&#8221;<br \/>\nadd chain=forward connection-state=invalid action=drop comment=&#8221;drop invalid connections&#8221;<br \/>\n[\/code]<\/p>\n<p protection for DOS and DDOS attack:<\/p>\n<p>[code]<br \/>\nip firewall filter<br \/>\nadd chain=forward connection-state=new action=jump jump-target=block-ddos<br \/>\nadd chain=forward connection-state=new src-address-list=ddoser dst-address-list=ddosed action=drop<br \/>\nadd chain=block-ddos dst-limit=50,50,src-and-dst-addresses\/10s action=return<br \/>\nadd chain=block-ddos action=add-dst-to-address-list address-list=ddosed address-list-timeout=10m<br \/>\nadd chain=block-ddos action=add-src-to-address-list address-list=ddoser address-list-timeout=10m<br \/>\n[\/code]<\/p>\n<p>sourec: http:\/\/forum.mikrotik.com\/viewtopic.php?f=2&#038;t=54607<\/p>\n<div><span style=\"color: #006600; font-family: Monaco, 'Courier New', monospace; line-height: 18.200000762939453px; background-color: #fafafa;\"><br \/>\n<\/span><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Drop invalid connections [code] \/ip firewall filter add chain=forward connection-state=established comment=&#8221;allow established connections&#8221; add chain=forward connection-state=related comment=&#8221;allow related connections&#8221; add chain=forward connection-state=invalid action=drop comment=&#8221;drop invalid connections&#8221; [\/code]<\/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-76","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/rmnp.ir\/index.php\/wp-json\/wp\/v2\/posts\/76","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rmnp.ir\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rmnp.ir\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rmnp.ir\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rmnp.ir\/index.php\/wp-json\/wp\/v2\/comments?post=76"}],"version-history":[{"count":0,"href":"https:\/\/rmnp.ir\/index.php\/wp-json\/wp\/v2\/posts\/76\/revisions"}],"wp:attachment":[{"href":"https:\/\/rmnp.ir\/index.php\/wp-json\/wp\/v2\/media?parent=76"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rmnp.ir\/index.php\/wp-json\/wp\/v2\/categories?post=76"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rmnp.ir\/index.php\/wp-json\/wp\/v2\/tags?post=76"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}