{"id":4206,"date":"2014-04-14T15:21:58","date_gmt":"2014-04-14T12:21:58","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=4206"},"modified":"2014-04-14T15:21:58","modified_gmt":"2014-04-14T12:21:58","slug":"%d1%84%d0%b8%d0%bb%d1%8c%d1%82%d1%80%d0%b0%d1%86%d0%b8%d1%8f-%d0%bf%d0%be-mac-%d0%b0%d0%b4%d1%80%d0%b5%d1%81%d1%83-%d0%b2-%d1%80%d0%b0%d0%b7%d0%bb%d0%b8%d1%87%d0%bd%d1%8b%d1%85-%d1%84%d0%b0%d0%b9","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=4206","title":{"rendered":"\u0424\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u044f \u043f\u043e MAC-\u0430\u0434\u0440\u0435\u0441\u0443 \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0444\u0430\u0439\u0435\u0440\u0432\u043e\u043b\u0430\u0445"},"content":{"rendered":"<h2><strong><span style=\"color: #0000ff;\">ipfw<\/span><\/strong><\/h2>\n<p><code>add allow all from any to 192.168.2.0\/24 via ${natd_interface} mac aa:bb:cc:dd:ee:ff any<\/code><\/p>\n<h2><strong><span style=\"color: #0000ff;\">pf<\/span><\/strong><\/h2>\n<p>(\u0442\u043e\u043b\u044c\u043a\u043e <strong>OpenBSD<\/strong>)<\/p>\n<p>\u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438:<\/p>\n<p><code># ifconfig bridge0 rule pass in on fxp0 src 0:de:ad:be:ef:0 tag USER1<\/code><\/p>\n<p>\u0432 <strong>pf.conf<\/strong>:<\/p>\n<p><code>pass in on fxp0 tagged USER1<\/code><\/p>\n<h2><strong><span style=\"color: #0000ff;\">ipf<\/span><\/strong><\/h2>\n<p>\u041d\u0435\u043b\u044c\u0437\u044f \u0441\u0434\u0435\u043b\u0430\u0442\u044c<\/p>\n<h2><strong><span style=\"color: #0000ff;\">iptables<\/span><\/strong><\/h2>\n<p><code>\/sbin\/iptables -A INPUT -m mac --mac-source 00:0F:EA:91:04:08 -j DROP<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>ipfw add allow all from any to 192.168.2.0\/24 via ${natd_interface} mac aa:bb:cc:dd:ee:ff any pf (\u0442\u043e\u043b\u044c\u043a\u043e OpenBSD) \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438: # ifconfig bridge0 rule pass in on fxp0 src 0:de:ad:be:ef:0 tag USER1 \u0432 pf.conf: pass in on fxp0 tagged USER1 ipf \u041d\u0435\u043b\u044c\u0437\u044f \u0441\u0434\u0435\u043b\u0430\u0442\u044c iptables \/sbin\/iptables -A INPUT -m mac &#8211;mac-source 00:0F:EA:91:04:08 -j DROP<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5,25,13,24],"tags":[],"class_list":["post-4206","post","type-post","status-publish","format-standard","hentry","category-freebsd","category-linux","category-openbsd","category-security","category-solaris"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/4206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4206"}],"version-history":[{"count":1,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/4206\/revisions"}],"predecessor-version":[{"id":4207,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/4206\/revisions\/4207"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}