{"id":1608,"date":"2009-08-02T23:08:21","date_gmt":"2009-08-02T14:08:21","guid":{"rendered":"http:\/\/a-tak.com\/xoops2\/modules\/wordpress\/2009\/08\/02\/1608"},"modified":"2020-07-13T14:34:16","modified_gmt":"2020-07-13T05:34:16","slug":"iphone%e3%82%84touch-diamond%e3%81%a7vpn","status":"publish","type":"post","link":"https:\/\/a-tak.com\/blog\/2009\/08\/iphone%e3%82%84touch-diamond%e3%81%a7vpn\/","title":{"rendered":"iPhone\u3084Touch Diamond\u3067VPN"},"content":{"rendered":"<div id=\"advads-3584270949\" class=\"advads-before-content-placement advads-entity-placement\" style=\"margin-left: auto;margin-right: auto;text-align: center;\"><div class=\"advads-adlabel\">\u5e83\u544a<\/div><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-7585646298782746\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:inline-block;width:300px;height:250px;\" \ndata-ad-client=\"ca-pub-7585646298782746\" \ndata-ad-slot=\"6112122906\"><\/ins> \n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div><p>Linux\u306bPPTPD\u5165\u308c\u3066\u3001VPN\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u305f\u3002<\/p>\n<p><!--more--><\/p>\n<h2><font color=\"#333333\">iPhone\u306fVPN\u3060\u3063\u3066\u3064\u3044\u3066\u3044\u308b<\/font><\/h2>\n<p><font color=\"#333333\">\u4ed5\u4e8b\u3067\u3082\u4f7f\u3048\u3061\u3083\u3046\u304b\u3082\u306d\u3002\u793e\u5185\u306eLAN\u306bVPN\u3067\u3064\u306a\u3052\u3066\u30a4\u30f3\u30c8\u30e9\u306e\u30b9\u30b1\u30b8\u30e5\u30fc\u30e9\u30fc\u3092\u898b\u308b\u3068\u304b\u3001\u30e1\u30fc\u30eb\u898b\u308b\u3068\u304b\u3002<\/font><\/p>\n<p><font color=\"#333333\">\u3055\u3066\u3001\u4eca\u56de\u306e\u76ee\u7684\u306f\u3001\u5b9f\u5bb6\u304b\u3089\u3067\u3082\u81ea\u5b85\u306e\u30d5\u30a1\u30a4\u30eb\u30b5\u30fc\u30d0\u30fc\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3002     \u9762\u5012\u306a\u306e\u3067\u3001\u3056\u3063\u3068\u7b87\u6761\u66f8\u304d\u3067\u3084\u308a\u65b9\u3092\u66f8\u3044\u3066\u304a\u304f\u3068\u30fb\u30fb\u30fb<\/font><\/p>\n<ol>\n<li>pptpd\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3057\u3066yum\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<ul>\n<li><span class=\"removed_link\" title=\"http:\/\/blog.willcraft.jp\/?p=67\">http:\/\/blog.willcraft.jp\/?p=67<\/span>\u3092\u53c2\u8003\u306b\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f<\/li>\n<li>-enablerepo=poptop-stable\u304c\u3042\u308b\u3068\u69cb\u6587\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3002\u6700\u521d\u306e\u30cf\u30a4\u30d5\u30f3\u306f\u4e8c\u3064\u304c\u6b63\u89e3\u304b\u306a?\u3053\u3053\u7701\u3044\u3066\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u306e\u3067\u305d\u308c\u3067\u9032\u3081\u305f<\/li>\n<\/ul>\n<li>iptables\u304c\u52d5\u3044\u3066\u3044\u308b\u3068\u3064\u306a\u304c\u3089\u306a\u3044\u306e\u3067\u3001\u7a74\u3092\u958b\u3051\u308b\u304b\u6b62\u3081\u308b<\/li>\n<li>vi \/etc\/pptpd.conf      \u305f\u3068\u3048\u3070\u3001\u3053\u3093\u306a\u611f\u3058\u3067\u8a2d\u5b9a\u3002<\/li>\n<p>localip 192.168.1.100     remoteip 192.168.1.101-120            \u4e00\u884c\u76ee\u306f\u30b5\u30fc\u30d0\u30fc\u306eIP\u3002\u4e8c\u884c\u76ee\u306fVPN\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306b\u5272\u308a\u632f\u3089\u308c\u308bIP\u3002<\/p>\n<li>vi \/etc\/ppp\/options.pptpd      \u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308b      name vpn.hoge.com      mtu 1400             \u4e00\u884c\u76ee\u306f\u30b5\u30fc\u30d0\u30fc\u540d\u3002\u4efb\u610f\u3067\u3088\u3044\u307f\u305f\u3044\u3002      \u3046\u3061\u306e\u74b0\u5883\u3067\u306f\u3001mtu\u3092\u8a2d\u5b9a\u305b\u305a\u306b\u30d6\u30e9\u30a6\u30b6\u3067\u30ed\u30fc\u30ab\u30eb\u306eWeb\u30b5\u30fc\u30d0\u30fc\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u306e\u3067\u3001\u8a2d\u5b9a\u3057\u305f\u3002      pptpd[2514]: GRE: read(fd=7,buffer=8056600,len=8260) from network failed: status = -1 error = Message too long      pptpd[2514]: CTRL: GRE read or PTY write failed (gre,pty)=(7,6)      pppd[2515]: Modem hangup       <\/li>\n<li>\u3053\u308c\u306f\u3044\u308b\u304b\u4e0d\u660e     vi \/etc\/sysctl.conf       net.ipv4.ip_forward = 1       <\/li>\n<li>service pptpd start <\/li>\n<p>\u3053\u308c\u3067iPhone\u306f\u3044\u3051\u308b\u306f\u305a\u3002<\/p>\n<\/ol>\n<h2>Mac\u3060\u3063\u3066\u3064\u306a\u3052\u305f\u3044<\/h2>\n<p>\u5b9f\u306e\u3068\u3053\u308diPhone\u3092VPN\u306b\u3064\u306a\u3052\u305f\u3063\u3066\u3001\u3042\u307e\u308a\u4f7f\u3044\u9053\u306f\u81ea\u5206\u306e\u5834\u5408\u306a\u3044\u3002   \u306a\u306e\u3067\u3001MacBook Air\u3082\u3064\u306a\u3052\u3066\u307f\u308b\u3002<\/p>\n<p>\u81ea\u5206\u306e\u5834\u5408\u3001\u5916\u304b\u3089\u306e\u30cd\u30c3\u30c8\u30a2\u30af\u30bb\u30b9\u306fTouch Diamond\u306eWMWifirouter\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u306e\u3060\u3051\u3069\u3001\u3053\u3044\u3064\u7d4c\u7531\u3067\u306a\u305cVPN\u63a5\u7d9a\u3067\u304d\u306a\u3044\u3002<\/p>\n<p>\u3069\u3046\u3084\u3089\u3001Touch Diamond\u3067Emnet\u3067\u30cd\u30c3\u30c8\u63a5\u7d9a\u3057\u3066\u3044\u308b\u3068\u3060\u3081\u3067\u3001emb\u3067\u63a5\u7d9a\u3057\u3066\u3044\u308b\u3068\u3044\u3051\u308b\u3089\u3057\u3044\u3002\u305f\u3076\u3093Emnet\u306e\u65b9\u306f\u30a4\u30fc\u30e2\u30d0\u30a4\u30eb\u5074\u3067\u306a\u3093\u3089\u304b\u306e\u30dd\u30fc\u30c8\u5236\u9650\u304c\u304b\u304b\u3063\u3066\u3044\u308b\u3068\u601d\u308f\u308c\u308b\u3002<\/p>\n<h2>\u3053\u308c\u3067\u3044\u3064\u3067\u3082\u30a2\u30af\u30bb\u30b9OK\u306a\u3093\u3060\u3051\u3069<\/h2>\n<p>\u3053\u308c\u3067\u3044\u3064\u3067\u3082\u5bb6\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002<\/p>\n<p>\u305f\u3060\u3001\u5fc3\u914d\u306a\u306e\u306fVPN\u306e\u8a8d\u8a3c\u304c\u30d1\u30b9\u30ef\u30fc\u30c9\u3060\u3051\u3060\u3068\u3044\u3046\u3053\u3068\u3002     ssh\u307f\u305f\u3044\u306b\u8a8d\u8a3c\u30d5\u30a1\u30a4\u30eb\u3082\u306a\u3044\u3002\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30fc\u7684\u306b\u3069\u3046\u304b\u3068\u601d\u3046\u3002<\/font><\/p>\n<p><font color=\"#000000\" size=\"2\">\u3042\u3068\u3001PC\u3064\u3051\u3063\u3071\u306a\u3057\u306a\u306e\u3067\u3001\u706b\u4e8b\u3068\u304b\u306b\u306a\u3089\u306a\u3044\u304b\u5fc3\u914d\u3002     \u304b\u306a\u308a\u9577\u3044\u3053\u3068\u5bb6\u3092\u7a7a\u3051\u3066\u307e\u3059\u304b\u3089\u306d\u3047\u30fb\u30fb\u30fb\u3002<\/font><\/p>\n<p><font color=\"#000000\" size=\"2\">\u3057\u304b\u3057\u3001\u3044\u3064\u3067\u3082\u5bb6\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3068\u3044\u3046\u306e\u306f\u4fbf\u5229\u30fb\u30fb\u304b\u3082\u3057\u308c\u306a\u3044\u3002\u4eca\u306e\u3068\u3053\u308d\u3042\u307e\u308a\u4f7f\u3044\u9053\u306f\u306a\u3044\u3093\u305f\u3051\u3069\u306d\u3002\u305f\u3060\u3001\u305f\u304b\u3060\u304b\u6570\u767e\u30ad\u30ed\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u843d\u3068\u3059\u306e\u306b\u304b\u306a\u308a\u6642\u9593\u304c\u304b\u304b\u308b\u306e\u3067\u3001\u5fae\u5999\u306a\u611f\u3058\u3060\u3002<\/p><div id=\"advads-1406676119\" class=\"advads-content-placement-after-3rd-paragraph advads-entity-placement\" style=\"margin-left: auto;margin-right: auto;text-align: center;\"><div class=\"advads-adlabel\">\u5e83\u544a<\/div><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-7585646298782746\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:inline-block;width:300px;height:250px;\" \ndata-ad-client=\"ca-pub-7585646298782746\" \ndata-ad-slot=\"6112122906\"><\/ins> \n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>\n<p><iframe loading=\"lazy\" framestyle=\"border:none;\" allowtransparency=\"true\" height=\"60\" width=\"468\" marginheight=\"0\" scrolling=\"no\" src=\"http:\/\/ad.jp.ap.valuecommerce.com\/servlet\/htmlbanner?sid=2274895&#038;pid=878423251\" marginwidth=\"0\"><script language=\"javascript\" src=\"http:\/\/ad.jp.ap.valuecommerce.com\/servlet\/jsbanner?sid=2274895&#038;pid=878423251\"><\/script><noscript><a href=\"http:\/\/ck.jp.ap.valuecommerce.com\/servlet\/referral?sid=2274895&#038;pid=878423251\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ad.jp.ap.valuecommerce.com\/vc\/images\/00\/27\/61\/4d.gif\" height=\"60\" width=\"468\" style=\"border:none;\"><\/a><\/noscript><\/iframe><br \/>\n<!--iphone touch-diamond linux vpn--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux\u306bPPTPD\u5165\u308c\u3066\u3001VPN\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u305f\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[29],"tags":[527,88],"class_list":["post-1608","post","type-post","status-publish","format-standard","hentry","category-mobile-phone","tag-iphone","tag-macbook-air"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/posts\/1608","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/comments?post=1608"}],"version-history":[{"count":0,"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/posts\/1608\/revisions"}],"wp:attachment":[{"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/media?parent=1608"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/categories?post=1608"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/tags?post=1608"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}