
Warning: Error while sending QUERY packet. PID=10647 in /home/uls/public_html/wordpress/wp-includes/class-wpdb.php on line 2357
{"id":46,"date":"2006-01-16T23:16:20","date_gmt":"2006-01-16T23:16:20","guid":{"rendered":"http:\/\/192.168.1.20\/wordpress\/freebsd\/2006\/01\/16\/firewall\/"},"modified":"2015-01-15T10:17:30","modified_gmt":"2015-01-15T10:17:30","slug":"firewall","status":"publish","type":"post","link":"http:\/\/uls.self.jp\/wordpress\/freebsd\/?p=46","title":{"rendered":"Firewall\u306e\u8a2d\u5b9a"},"content":{"rendered":"<p>\u97d3\u56fd\u304b\u3089\u306e\u4e0d\u6b63\u6d78\u5165\u3092\u8a66\u307f\u3088\u3046\u3068\u3059\u308b\u30a2\u30af\u30bb\u30b9\u304c\u7570\u69d8\u306b\u591a\u3044\u3002\u3000\u305d\u3093\u306a\u306b\u7c21\u5358\u306b\u306f\u7834\u3089\u308c\u308b\u4e8b\u306f\u7121\u3044\u3068\u601d\u3046\u304c\u3001\u7121\u6c17\u5473\u3067\u3042\u308a\u3001\u3082\u3057\u3082\u306e\u3053\u3068\u3092\u8003\u3048\u3066Firewall\u3067\u30b5\u30fc\u30d0\u3092\u5b88\u308b\u3053\u3068\u3068\u306b\u3057\u305f\u3002<br \/>\nFreeBSD 6.0\u3067\u904b\u7528\u3057\u3066\u3044\u308b\u304c\u3001\u8a2d\u5b9a\u306f\u7c21\u5358\u3067 \/etc\/rc.conf \u306b\u6b21\u306e\uff12\u884c\u3092\u8ffd\u52a0\u3059\u308b\u3002<\/p>\n<pre>firewall_enable=\"YES\"\nfirewall_type=\"\/etc\/ipfw.conf\"<\/pre>\n<p>\u3057\u304b\u3057\u3001\u3053\u3053\u3067\u30b5\u30fc\u30d0\u3092\u518d\u8d77\u52d5\u3059\u308b\u3068\u79c1\u306e\u3088\u3046\u306bWindows\u304b\u3089Tera Term\u3067\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3044\u308b\u3068\u3001\u305d\u306e\u5f8c<font color=\"#ff0000\">\u4e00\u5207\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u304f\u306a\u308b\u306e\u3067\u8981\u6ce8\u610f<\/font>\u3067\u3059\u3002<br \/>\n\u7406\u7531\u306f\u3001default\u3067<br \/>\n65535      0        0 deny ip from any to any<br \/>\n\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u304b\u3089\u3067\u3059\u3002\u3000\u3053\u306e\u610f\u5473\u306f\u5168\u3066\u306eip\u30d1\u30b1\u30c3\u30c8\u3092\u7981\u6b62\u3059\u308b\u3068\u306a\u308b\u3002<br \/>\n\u305d\u3053\u3067\u3001\/etc\u306b ipfw.conf\u306e\u540d\u524d\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308a\u3001\u6700\u4f4e\u6b21\u306e\uff11\u884c\u3092\u66f8\u3044\u3066\u304a\u304f\u3002<br \/>\nadd 65000 allow all from any to any<br \/>\nipfw\u306e\u30eb\u30fc\u30eb\u306f\u756a\u53f7\u306e\u82e5\u3044\u9806\u306b\u8a55\u4fa1\u3055\u308c\u308b\u306e\u3067\u300165535\u756a\u3088\u308a\u82e5\u304465000\u3067\u5168\u3066\u306e\u30d1\u30b1\u30c3\u30c8\u3092\u901a\u3059\u3068\u6307\u5b9a\u3057\u3066\u304a\u304f\u3002\u3000\u3053\u308c\u3067\u30b5\u30fc\u30d0\u3092reboot\u3057\u3066\u3001<\/p>\n<pre># ipfw -a list\u3000\u3000\u3068\u5165\u529b\u3057\u3066\u8a2d\u5b9a\u30eb\u30fc\u30eb\u3092\u898b\u308b\u3068\u3001\n65000 354796 84007947 allow ip from any to any\n65535      0        0 deny ip from any to any\n\u3068\u306a\u308b\u3002<\/pre>\n<p>\u5f8c\u306f\u3001<a href=\"http:\/\/filtering.web.fc2.com\/\">\u4e2d\u56fd\u30fb\u97d3\u56fd\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u62d2\u5426\u3059\u308b<\/a>\u304b\u3089ip\u30a2\u30c9\u30ec\u30b9\u4e00\u89a7\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001Editor\u3067\u958b\u3044\u3066\u5168\u9078\u629e\u3057\u3066\u30b3\u30d4\u30fc\u3057\/etc\/ipfw.conf\u3000\u306e\u30006500 all allow ip from any to any\u306e\u884c\u306e\u524d\u306b\u8cbc\u308a\u4ed8\u3051\u308b\u3002<br \/>\n\u3053\u308c\u3067\u3001\u518d\u5ea6\u30b5\u30fc\u30d0\u3092reboot\u3059\u308c\u3070\u516c\u5f0f\u306b\u97d3\u56fd\u306b\u5272\u308a\u5f53\u3066\u3089\u308c\u305fip address\u304b\u3089\u306e\u30d1\u30b1\u30c3\u30c8\u306f\u5168\u3066\u62d2\u5426\u3067\u304d\u308b\u3002<\/p>\n<pre>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u30fb\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u30fb\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u30fb\nadd deny log all from 222.120.0.0\/15 to any\nadd deny log all from 222.122.0.0\/16 to any\nadd deny log all from 222.231.0.0\/18 to any\nadd deny log all from 222.232.0.0\/13 to any\nadd deny log all from 222.251.128.0\/17 to any\nadd 65000 allow all from any to any<\/pre>\n<p>\u305d\u308c\u3067\u3082\u3001proxy\u7d4c\u7531\u3067\u30a2\u30af\u30bb\u30b9\u3055\u308c\u305f\u3089\u9632\u3052\u306a\u3044\u304c\u300190%\u7a0b\u5ea6\u306f\u963b\u6b62\u3067\u304d\u308b\u3068\u306e\u3053\u3068\u3067\u3042\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u97d3\u56fd\u304b\u3089\u306e\u4e0d\u6b63\u6d78\u5165\u3092\u8a66\u307f\u3088\u3046\u3068\u3059\u308b\u30a2\u30af\u30bb\u30b9\u304c\u7570\u69d8\u306b\u591a\u3044\u3002\u3000\u305d\u3093\u306a\u306b\u7c21\u5358\u306b\u306f\u7834\u3089\u308c\u308b\u4e8b\u306f\u7121\u3044\u3068\u601d\u3046\u304c\u3001\u7121\u6c17\u5473\u3067\u3042\u308a\u3001\u3082\u3057\u3082\u306e\u3053\u3068\u3092\u8003\u3048\u3066Firewall\u3067\u30b5\u30fc\u30d0\u3092\u5b88\u308b\u3053\u3068\u3068\u306b\u3057\u305f\u3002 FreeBSD 6.0\u3067\u904b\u7528\u3057\u3066\u3044\u308b\u304c\u3001 &hellip; <a href=\"http:\/\/uls.self.jp\/wordpress\/freebsd\/?p=46\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-46","post","type-post","status-publish","format-standard","hentry","category-freebsd","wpautop"],"_links":{"self":[{"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=\/wp\/v2\/posts\/46","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=46"}],"version-history":[{"count":3,"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=\/wp\/v2\/posts\/46\/revisions"}],"predecessor-version":[{"id":179,"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=\/wp\/v2\/posts\/46\/revisions\/179"}],"wp:attachment":[{"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=46"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=46"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=46"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}