特殊:Badtitle/NS100:Gaming VPN Using PPTPD
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Gaming_VPN_Using_PPTPD }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/af | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|Afrikaans| [[::Gaming VPN Using PPTPD/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/ar | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|العربية| [[::Gaming VPN Using PPTPD/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/az | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|azərbaycanca| [[::Gaming VPN Using PPTPD/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/bcc | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|جهلسری بلوچی| [[::Gaming VPN Using PPTPD/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/bg | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|български| [[::Gaming VPN Using PPTPD/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/br | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|brezhoneg| [[::Gaming VPN Using PPTPD/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/ca | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|català| [[::Gaming VPN Using PPTPD/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/cs | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|čeština| [[::Gaming VPN Using PPTPD/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/de | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|Deutsch| [[::Gaming VPN Using PPTPD/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/el | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|Ελληνικά| [[::Gaming VPN Using PPTPD/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/es | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|español| [[::Gaming VPN Using PPTPD/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/fa | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|فارسی| [[::Gaming VPN Using PPTPD/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/fi | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|suomi| [[::Gaming VPN Using PPTPD/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/fr | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|français| [[::Gaming VPN Using PPTPD/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/gu | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|ગુજરાતી| [[::Gaming VPN Using PPTPD/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/he | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|עברית| [[::Gaming VPN Using PPTPD/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/hu | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|magyar| [[::Gaming VPN Using PPTPD/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/id | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|Bahasa Indonesia| [[::Gaming VPN Using PPTPD/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/it | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|italiano| [[::Gaming VPN Using PPTPD/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/ja | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|日本語| [[::Gaming VPN Using PPTPD/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/ko | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|한국어| [[::Gaming VPN Using PPTPD/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/ksh | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|Ripoarisch| [[::Gaming VPN Using PPTPD/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/mr | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|मराठी| [[::Gaming VPN Using PPTPD/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/ms | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|Bahasa Melayu| [[::Gaming VPN Using PPTPD/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/nl | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|Nederlands| [[::Gaming VPN Using PPTPD/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/no | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|norsk| [[::Gaming VPN Using PPTPD/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/oc | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|occitan| [[::Gaming VPN Using PPTPD/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/pl | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|polski| [[::Gaming VPN Using PPTPD/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/pt | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|português| [[::Gaming VPN Using PPTPD/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/ro | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|română| [[::Gaming VPN Using PPTPD/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/ru | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|русский| [[::Gaming VPN Using PPTPD/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/si | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|සිංහල| [[::Gaming VPN Using PPTPD/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/sq | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|shqip| [[::Gaming VPN Using PPTPD/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/sr | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|српски / srpski| [[::Gaming VPN Using PPTPD/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/sv | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|svenska| [[::Gaming VPN Using PPTPD/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/th | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|ไทย| [[::Gaming VPN Using PPTPD/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/tr | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|Türkçe| [[::Gaming VPN Using PPTPD/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/vi | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|Tiếng Việt| [[::Gaming VPN Using PPTPD/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/yue | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|粵語| [[::Gaming VPN Using PPTPD/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/zh | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|中文| [[::Gaming VPN Using PPTPD/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/zh-hans | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|中文(简体)| [[::Gaming VPN Using PPTPD/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD | UbuntuHelp:Gaming_VPN_Using_PPTPD | {{#if: | :}}Gaming VPN Using PPTPD}}/zh-hant | • {{#if: UbuntuHelp:Gaming_VPN_Using_PPTPD|中文(繁體)| [[::Gaming VPN Using PPTPD/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:Gaming_VPN_Using_PPTPD|:Gaming VPN Using PPTPD|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Gaming VPN Using PPTPD/zh | | {{#ifexist: Gaming VPN Using PPTPD/zh | | {{#ifeq: {{#titleparts:Gaming VPN Using PPTPD|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Gaming VPN Using PPTPD|1|-1|}} | zh | | }}
How to set up Gaming VPN using PPTPD
TODO. Working:
- TCP/IP
Current problem(s):
- Only one IPX connection is accepted
- Sometimes you must reconnect because pptpd/pppd gets into somekind of loop
Server, Linux
Packing and authentication (except plain text) is not used because it eats bandwidth.
apt-get install pptpd ipx ipxripd
File: /etc/ppp/options
File contains only these lines:
lock #debug
File: /etc/ppp/pptpd-options
File contains only these lines:
name pptpd lock nodefaultroute nobsdcomp # change to your own DNS ms-dns 130.234.4.30 ms-dns 130.234.5.30 proxyarp netmask 255.255.255.0 #IPX (todo) ipx ipx-network 4 ipx-node 1:0 ipx-routing 2 ipx-router-name Linux_router ipxcp-accept-remote # authentication: noauth nomppe nomppe-40 nomppe-128 #debug
File: /etc/pptpd.conf
File contains only these lines:
option /etc/ppp/pptpd-options logwtmp localip 172.20.0.1 remoteip 172.20.0.2-254 # 'listen' is not required necessary #listen 44.33.22.11
iptables
Run this:
echo 1 > /proc/sys/net/ipv4/ip_forward echo 1 > /proc/sys/net/ipv4/ip_dynaddr
File: /etc/ppp/chap-secrets
Add all VPN users to this file
# client server password IP # separated with tab raspi pptpd awvb46bw7n "*" testuser pptpd fgf4wty475 1.2.3.4
Debugging
- /var/log/syslog
- /proc/net/ipx/interface
- /proc/net/ipx/route
- /proc/net/ipx/socket
- ifconfig
Services:
- /etc/init.d/pptpd <start|stop|restart>
- /etc/init.d/ppp <start|stop|restart>
Client, Windows XP
- Install IPX
- Create VPN connection
VPN Settings (Windows)
Custom settings, check only PAP VPN-type = PPTP-VPN Negotiate multilink = ON TCP/IP = don't use gateway
Links
- [- The PPTP Server for Linux]
- [Questions & Answers]
- [(pptpd) mail archive]
- [IPX over PPP]
- [IPX Tunneling Daemon]
- #pptp @ FreeNode