{"id":822,"date":"2013-11-14T00:39:18","date_gmt":"2013-11-13T22:39:18","guid":{"rendered":"http:\/\/www.shukko.com\/x3\/?p=822"},"modified":"2013-11-14T00:39:18","modified_gmt":"2013-11-13T22:39:18","slug":"8-adimda-centos-ubuntu-uzerinde-hizli-pptp","status":"publish","type":"post","link":"https:\/\/www.shukko.com\/x3\/2013\/11\/14\/8-adimda-centos-ubuntu-uzerinde-hizli-pptp\/","title":{"rendered":"8 adimda centos \/ ubuntu uzerinde hizli PPTP"},"content":{"rendered":"<p><code><br \/>\n1- kur<br \/>\ncentos:<br \/>\nrpm -i http:\/\/poptop.sourceforge.net\/yum\/stable\/rhel6\/pptp-release-current.noarch.rpm<br \/>\nyum -y install pptpd<\/p>\n<p>ubuntu:<br \/>\napt-get install pptpd<\/p>\n<p>2- ip tanimla<br \/>\nnano \/etc\/pptpd.conf<\/p>\n<p>en alta ekle<\/p>\n<p>localip 10.0.0.1<br \/>\nremoteip 10.0.0.100-200<\/p>\n<p>3- kullanici adi sifre tanimla<br \/>\nnano \/etc\/ppp\/chap-secrets<\/p>\n<p>user1 pptpd password *<\/p>\n<p>4- dns sunucu tanimla<br \/>\nnano \/etc\/ppp\/pptpd-options<\/p>\n<p>ms-dns 8.8.8.8<br \/>\nms-dns 8.8.4.4<\/p>\n<p>5- servisi baslat<br \/>\nservice pptpd restart<\/p>\n<p>6- ipv4 forwardingi ac<br \/>\nnano  \/etc\/sysctl.conf<\/p>\n<p>net.ipv4.ip_forward = 1<\/p>\n<p>7- degisiklikleri uygula<br \/>\nsysctl -p<\/p>\n<p>8- iptables ile NAT kurali tanimla<br \/>\niptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE && iptables-save<\/p>\n<p>PPTP clientlerin birbirleri ile konusabilmesi icin bunlarida ekleyebilirsin<\/p>\n<p>iptables --table nat --append POSTROUTING --out-interface ppp0 -j MASQUERADE<br \/>\niptables -I INPUT -s 10.0.0.0\/8 -i ppp0 -j ACCEPT<br \/>\niptables --append FORWARD --in-interface eth0 -j ACCEPT<\/p>\n<p>Bitti - Gule Gule Kullan<\/p>\n<p>EK1- windows icin client yapilandirmasi<br \/>\nhttp:\/\/www.hideipvpn.com\/2009\/09\/howto-windows-7-pptp-vpn-setup-tutorial\/<\/p>\n<p><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1- kur centos: rpm -i http:\/\/poptop.sourceforge.net\/yum\/stable\/rhel6\/pptp-release-current.noarch.rpm yum -y install pptpd ubuntu: apt-get install pptpd 2- ip tanimla nano \/etc\/pptpd.conf en alta ekle localip 10.0.0.1 remoteip 10.0.0.100-200 3- kullanici adi sifre tanimla nano \/etc\/ppp\/chap-secrets user1 pptpd password * 4- dns sunucu tanimla nano \/etc\/ppp\/pptpd-options ms-dns 8.8.8.8 ms-dns 8.8.4.4 5- servisi baslat service pptpd restart 6- ipv4 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-822","post","type-post","status-publish","format-standard","hentry","category-kategerisiz"],"_links":{"self":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/822","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/comments?post=822"}],"version-history":[{"count":1,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/822\/revisions"}],"predecessor-version":[{"id":823,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/822\/revisions\/823"}],"wp:attachment":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/media?parent=822"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/categories?post=822"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/tags?post=822"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}