{"id":99,"date":"2009-01-03T12:50:03","date_gmt":"2009-01-03T03:50:03","guid":{"rendered":"http:\/\/qos.mine.nu\/wordpress\/?p=99"},"modified":"2010-01-31T03:22:27","modified_gmt":"2010-01-30T18:22:27","slug":"fon-la-fonera","status":"publish","type":"post","link":"https:\/\/qos.dev7.net\/wordpress\/2009\/01\/fon-la-fonera.html","title":{"rendered":"FON (La Fonera)\u306b\u3064\u3044\u3066"},"content":{"rendered":"<div id=\"wppda_alert\">\u3053\u306e\u8a18\u4e8b\u306f\uff12\u5e74\u4ee5\u4e0a\u524d\u306b\u66f8\u3044\u305f\u3082\u306e\u3067\u3059\u3002<br\/>\r\n\u305d\u306e\u305f\u3081\u60c5\u5831\u304c\u53e4\u3044\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u3054\u4e86\u627f\u304f\u3060\u3055\u3044\u3002m(_ _)m<\/div><p>FON\u306b\u3064\u3044\u3066\u3001\u60c5\u5831\u96c6\u3081\u306b\u5954\u8d70\u3057\u3066\u3044\u305f\u3068\u3053\u308d\u3001\u4ee5\u4e0b\u3092\u767a\u898b\u3002\u3002\u3002<\/p>\n<p><a href=\"http:\/\/d.hatena.ne.jp\/m-bird\/20081214\/1229186950\">FON &#8211; LaFonera\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30db\u30fc\u30eb\u767a\u898b\u3067\u3054\u3056\u308b\u306e\u5dfb &#8211; m-bird\u3068FreeBSD\u306e\u540c\u68f2\u65e5\u8a18<\/a><\/p>\n<blockquote><p>\u5bb6\u306e\u4e2d\u306b<a href=\"http:\/\/d.hatena.ne.jp\/keyword\/%a5%cd%a5%c3%a5%c8%a5%ef%a1%bc%a5%af\">\u30cd\u30c3\u30c8\u30ef\u30fc\u30af<\/a>(\u30b5\u30d6\u30cd\u30c3\u30c8)\u304c\u4e8c\u3064\u3042\u308b\u3068\u3001<a href=\"http:\/\/d.hatena.ne.jp\/keyword\/FON\">FON<\/a>\u304c\u3064\u306a\u304c\u3063\u3066\u3044\u308b\u65b9\u306e<a href=\"http:\/\/d.hatena.ne.jp\/keyword\/%a5%cd%a5%c3%a5%c8%a5%ef%a1%bc%a5%af\">\u30cd\u30c3\u30c8\u30ef\u30fc\u30af<\/a>\u306f\u5b89\u5168\u306b\u5b88\u3089\u308c\u308b\u3093\u3060\u3051\u3069\u3001<a href=\"http:\/\/d.hatena.ne.jp\/keyword\/FON\">FON<\/a>\u304c\u53c2\u52a0\u3057\u3066\u3044\u306a\u3044\u65b9\u306e<a href=\"http:\/\/d.hatena.ne.jp\/keyword\/%a5%cd%a5%c3%a5%c8%a5%ef%a1%bc%a5%af\">\u30cd\u30c3\u30c8\u30ef\u30fc\u30af<\/a>\u306f\u4e38\u898b\u3048\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p><\/blockquote>\n<p>\u3053\u308a\u3083\u5371\u967a\uff01\uff01<\/p>\n<p>\u2193\u3053\u3093\u306aNW\u69cb\u6210\u306e\u5834\u5408\u3001\u3001\u3001\u3001<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/qos.dev7.net\/WindowsLiveWriter\/LaFonera_82D7\/fon_nw_4.jpg\" alt=\"\" width=\"510\" height=\"259\" \/><\/p>\n<p>La Fonera\u304c\u53c2\u52a0\u3057\u3066\u3044\u306a\u3044\u30b5\u30d6\u30cd\u30c3\u30c8\u306b\u306f\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u3063\u3066\u3053\u3068\u306f\u3001<br \/>\n192.168.1.1, 192.168.1.2(192.168.1.0\/24)\u3078\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u3063\u3066\u4e8b\u306b\u306a\u308b\u3002\u3002<br \/>\n\u65e9\u901f\u3001PC2\u304b\u3089FON_AP\u3078\u7e4b\u3044\u3067\u3001192.168.1.1, 192.168.1.2\u3078\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u305f\u3068\u3053\u308d\u3001<br \/>\n\u666e\u901a\u306b\u6210\u529f\u3002\u3002orz<\/p>\n<p>\u3063\u3066\u3053\u3068\u3067\u76f4\u3050\u3055\u307e\u3001<br \/>\n\/etc\/firewall.user\u306b\u3001<br \/>\niptables -A WAN_HOOK -o eth0 -j DROP -d 192.168.1.0\/24<\/p>\n<p>\u3092\u8ffd\u52a0\u3002(\u5f8c\u3067\u3061\u3083\u3093\u3068\u3057\u305f\u30eb\u30fc\u30eb\u8003\u3048\u3088\u3046\u3002)<\/p>\n<p><strong><\/strong><\/p>\n<p><strong>2009\/01\/04 \u8ffd\u8a18<\/strong><\/p>\n<p>\/etc\/init.d\/S45firewall \u306b<\/p>\n<p># check if the connection is already up and add WAN_HOOK rules automatically<br \/>\nenv -i ACTION=ifup INTERFACE=wan \/bin\/sh \/etc\/hotplug.d\/iface\/20-firewall<\/p>\n<p>\u3068\u306e\u8a18\u8ff0\u304c\u3002\u3002\u3002orz<br \/>\n\/etc\/firewall.usesr\u306b\u66f8\u3044\u3066\u3082\u53cd\u6620\u3055\u308c\u3066\u306a\u304b\u3063\u305f\u3002\u3002\u3002<br \/>\n\u4ed5\u65b9\u304c\u306a\u3044\u306e\u3067\u3001\/etc\/hotplug.d\/iface\/20-firewall \u306e\u6700\u5f8c\u306e\u65b9\u306b\u76f4\u63a5<br \/>\niptables -A WAN_HOOK -o eth0 -j DROP -d 192.168.1.0\/24<br \/>\n\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u306b\u3002\u3002\u3002(\u306a\u3093\u3068\u9069\u5f53\u306a\u2026)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u306f\uff12\u5e74\u4ee5\u4e0a\u524d\u306b\u66f8\u3044\u305f\u3082\u306e\u3067\u3059\u3002 \u305d\u306e\u305f\u3081\u60c5\u5831\u304c\u53e4\u3044\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u3054\u4e86\u627f\u304f\u3060\u3055\u3044\u3002m(_ _)mFON\u306b\u3064\u3044\u3066\u3001\u60c5\u5831\u96c6\u3081\u306b\u5954\u8d70\u3057\u3066\u3044\u305f\u3068\u3053\u308d\u3001\u4ee5\u4e0b\u3092\u767a\u898b\u3002\u3002\u3002 FON &#8211; LaFonera\u306e\u30bb\u30ad\u30e5\u30ea &hellip; <a href=\"https:\/\/qos.dev7.net\/wordpress\/2009\/01\/fon-la-fonera.html\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4],"tags":[61,47,33],"class_list":["post-99","post","type-post","status-publish","format-standard","hentry","category-auafafcc","category-4","tag-fon","tag-freebsd","tag-iptables"],"_links":{"self":[{"href":"https:\/\/qos.dev7.net\/wordpress\/wp-json\/wp\/v2\/posts\/99","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qos.dev7.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qos.dev7.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qos.dev7.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/qos.dev7.net\/wordpress\/wp-json\/wp\/v2\/comments?post=99"}],"version-history":[{"count":1,"href":"https:\/\/qos.dev7.net\/wordpress\/wp-json\/wp\/v2\/posts\/99\/revisions"}],"predecessor-version":[{"id":142,"href":"https:\/\/qos.dev7.net\/wordpress\/wp-json\/wp\/v2\/posts\/99\/revisions\/142"}],"wp:attachment":[{"href":"https:\/\/qos.dev7.net\/wordpress\/wp-json\/wp\/v2\/media?parent=99"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qos.dev7.net\/wordpress\/wp-json\/wp\/v2\/categories?post=99"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qos.dev7.net\/wordpress\/wp-json\/wp\/v2\/tags?post=99"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}