{"id":137,"date":"2010-02-23T15:44:19","date_gmt":"2010-02-23T06:44:19","guid":{"rendered":"http:\/\/phpdev.comsys-blog.com\/?p=137"},"modified":"2010-02-23T15:44:19","modified_gmt":"2010-02-23T06:44:19","slug":"redhat-el5-%e3%81%a7pptp%e3%82%b5%e3%83%bc%e3%83%90%e3%81%ae%e8%a8%ad%e5%ae%9a","status":"publish","type":"post","link":"https:\/\/tamura.jp\/?p=137","title":{"rendered":"REDHAT EL5 \u3067PPTP\u30b5\u30fc\u30d0\u306e\u8a2d\u5b9a"},"content":{"rendered":"<ol>\n<li>\uff50\uff50\uff50\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb \u305f\u3044\u3066\u3044\u306f\u3059\u3067\u306b\u5165\u3063\u3066\u3044\u308b<br \/>\nyum install ppp<\/li>\n<li>\uff50\uff50\uff54\uff50\uff44\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u53d6\u5f97<br \/>\n\uff50\uff50\uff54\uff50\uff44\u306b\u306fpoptop\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u53d6\u5f97<br \/>\n<code>wget <a href=\"http:\/\/poptop.sourceforge.net\/yum\/stable\/rhel5\/x86_64\/pptpd-1.3.4-1.rhel5.1.x86_64.rpm\">http:\/\/poptop.sourceforge.net\/yum\/stable\/rhel5\/x86_64\/pptpd-1.3.4-1.rhel5.1.x86_64.rpm<\/a><\/code><\/li>\n<li><code>poptop\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\n<code>rpm -ivh pptpd-1.3.4-1.rhel5.1.x86_64.rpm<\/code><\/code><\/li>\n<li><code><code>\/etc\/pptpd.conf \u306e\u8a2d\u5b9alocalip\u00a0\u00a0\u00a0 192.168.123.10\u00a0\u00a0\u00a0 &lt;- \u30ed\u30fc\u30ab\u30ebIP<br \/>\nremoteip\u00a0\u00a0 192.168.100-150\u00a0\u00a0 &lt;-\u3000\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306b\u5272\u308a\u4ed8\u3051\u308bIP\u30a2\u30c9\u30ec\u30b9<\/p>\n<p><\/code><\/code><\/li>\n<li><code><code>\u63a5\u7d9a\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u8a2d\u5b9a\uff08DNS\u3084WINS\u7b49\uff09<br \/>\n\/etc\/ppp\/options.pptpd\u3000\u3092\u7de8\u96c6\u3059\u308b<br \/>\n<code>ms-dns 208.67.222.222<br \/>\nms-dns 208.67.220.220<\/code><br \/>\n<\/code><\/code><\/li>\n<li><code><code>\u63a5\u7d9a\u30e6\u30fc\u30b6ID\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u8a2d\u5b9a<br \/>\n\/etc\/ppp\/chap-secrets \u3092\u7de8\u96c6\u3059\u308b<br \/>\n<code># Secrets for authentication using CHAP<br \/>\n# client server secret IP addresses<br \/>\nusername pptpd password *<br \/>\nusername2 pptpd password2 *<br \/>\n<\/code><\/code><\/code><\/li>\n<li><code><code><code>\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u8a2d\u5b9a<br \/>\n\u3053\u306e\u30b5\u30fc\u30d0\u4ee5\u5916\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u5834\u5408\u306f\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u8a2d\u5b9a\u304c\u5fc5\u8981<br \/>\n<\/code><code>echo 1 &gt; \/proc\/sys\/net\/ipv4\/ip_forward<br \/>\n\u305d\u306e\u4ed6\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306fiptables\u3067\u884c\u3046<br \/>\n<\/code><\/code><\/code><\/li>\n<li><code><code><code>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089\u306e\u63a5\u7d9a\u3092\u53d7\u3051\u308b\u305f\u3081\u3001\u3053\u306e\u30b5\u30fc\u30d0\u306f\u4ee5\u4e0b\u306e\u30d7\u30ed\u30c8\u30b3\u30eb\u3092\u53d7\u3051\u4ed8\u3051\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u306e\u3067\u8981\u6ce8\u610f<br \/>\ngre \u30d7\u30ed\u30c8\u30b3\u30eb\u756a\u53f7 47 \u756a<br \/>\ntcp 1723<br \/>\n<\/code>\u00a0<\/p>\n<p><\/code><\/code><\/li>\n<\/ol>\n<div><code><code>\u00a0<\/code><\/code><\/div>\n<p><code><code>\u00a0<\/p>\n<p><\/code><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uff50\uff50\uff50\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb \u305f\u3044\u3066\u3044\u306f\u3059\u3067\u306b\u5165\u3063\u3066\u3044\u308b yum install ppp \uff50\uff50\uff54\uff50\uff44\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u53d6\u5f97 \uff50\uff50\uff54\uff50\uff44\u306b\u306fpoptop\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u53d6\u5f97 wget http:\/\/poptop.source [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[66,68,69],"class_list":["post-137","post","type-post","status-publish","format-standard","hentry","category-php","tag-poptop","tag-pptp","tag-redhat"],"_links":{"self":[{"href":"https:\/\/tamura.jp\/index.php?rest_route=\/wp\/v2\/posts\/137","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tamura.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tamura.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tamura.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tamura.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=137"}],"version-history":[{"count":0,"href":"https:\/\/tamura.jp\/index.php?rest_route=\/wp\/v2\/posts\/137\/revisions"}],"wp:attachment":[{"href":"https:\/\/tamura.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=137"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tamura.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=137"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tamura.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}