“UbuntuHelp:Gaming VPN Using PPTPD”的版本间的差异
来自Ubuntu中文
小 (新页面: {{From|https://help.ubuntu.com/community/Gaming_VPN_Using_PPTPD}} {{Languages|UbuntuHelp:Gaming_VPN_Using_PPTPD}} == How to set up Gaming VPN using PPTPD == TODO. Working: * TCP/IP Curr...) |
小 |
||
(未显示同一用户的2个中间版本) | |||
第3行: | 第3行: | ||
== How to set up Gaming VPN using PPTPD == | == How to set up Gaming VPN using PPTPD == | ||
TODO. | TODO. | ||
− | |||
Working: | Working: | ||
* TCP/IP | * TCP/IP | ||
− | |||
Current problem(s): | Current problem(s): | ||
* Only one IPX connection is accepted | * Only one IPX connection is accepted | ||
* Sometimes you must reconnect because pptpd/pppd gets into somekind of loop | * Sometimes you must reconnect because pptpd/pppd gets into somekind of loop | ||
− | |||
=== Server, Linux === | === Server, Linux === | ||
Packing and authentication (except plain text) is not used because it eats bandwidth. | Packing and authentication (except plain text) is not used because it eats bandwidth. | ||
− | |||
<pre><nowiki> | <pre><nowiki> | ||
apt-get install pptpd ipx ipxripd | apt-get install pptpd ipx ipxripd | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
==== File: /etc/ppp/options ==== | ==== File: /etc/ppp/options ==== | ||
File contains only these lines: | File contains only these lines: | ||
− | |||
<pre><nowiki> | <pre><nowiki> | ||
lock | lock | ||
#debug | #debug | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
==== File: /etc/ppp/pptpd-options ==== | ==== File: /etc/ppp/pptpd-options ==== | ||
File contains only these lines: | File contains only these lines: | ||
− | |||
<pre><nowiki> | <pre><nowiki> | ||
name pptpd | name pptpd | ||
第53行: | 第45行: | ||
#debug | #debug | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
==== File: /etc/pptpd.conf ==== | ==== File: /etc/pptpd.conf ==== | ||
File contains only these lines: | File contains only these lines: | ||
− | |||
<pre><nowiki> | <pre><nowiki> | ||
option /etc/ppp/pptpd-options | option /etc/ppp/pptpd-options | ||
第65行: | 第55行: | ||
#listen 44.33.22.11 | #listen 44.33.22.11 | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
==== iptables ==== | ==== iptables ==== | ||
Run this: | Run this: | ||
第72行: | 第61行: | ||
echo 1 > /proc/sys/net/ipv4/ip_dynaddr | echo 1 > /proc/sys/net/ipv4/ip_dynaddr | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
==== File: /etc/ppp/chap-secrets ==== | ==== File: /etc/ppp/chap-secrets ==== | ||
Add all VPN users to this file | Add all VPN users to this file | ||
− | |||
<pre><nowiki> | <pre><nowiki> | ||
# client server password IP | # client server password IP | ||
第82行: | 第69行: | ||
testuser pptpd fgf4wty475 1.2.3.4 | testuser pptpd fgf4wty475 1.2.3.4 | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
==== Debugging ==== | ==== Debugging ==== | ||
* /var/log/syslog | * /var/log/syslog | ||
第89行: | 第75行: | ||
* /proc/net/ipx/socket | * /proc/net/ipx/socket | ||
* ifconfig | * ifconfig | ||
− | |||
Services: | Services: | ||
* /etc/init.d/pptpd <start|stop|restart> | * /etc/init.d/pptpd <start|stop|restart> | ||
* /etc/init.d/ppp <start|stop|restart> | * /etc/init.d/ppp <start|stop|restart> | ||
− | |||
=== Client, Windows XP === | === Client, Windows XP === | ||
* Install IPX | * Install IPX | ||
* Create VPN connection | * Create VPN connection | ||
− | |||
==== VPN Settings (Windows) ==== | ==== VPN Settings (Windows) ==== | ||
Custom settings, check only PAP | Custom settings, check only PAP | ||
− | |||
VPN-type = PPTP-VPN | VPN-type = PPTP-VPN | ||
− | |||
Negotiate multilink = ON | Negotiate multilink = ON | ||
− | |||
TCP/IP = don't use gateway | TCP/IP = don't use gateway | ||
− | |||
=== Links === | === Links === | ||
* [http://poptop.sourceforge.net/ Poptop - The PPTP Server for Linux] | * [http://poptop.sourceforge.net/ Poptop - The PPTP Server for Linux] | ||
第114行: | 第93行: | ||
* [http://tipxd.sourceforge.net/ Tom's IPX Tunneling Daemon] | * [http://tipxd.sourceforge.net/ Tom's IPX Tunneling Daemon] | ||
* #pptp @ FreeNode | * #pptp @ FreeNode | ||
− | + | ---- | |
− | + | [[category:CategoryGames]] | |
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2008年10月19日 (日) 15:18的最新版本
点击翻译: |
English |
目录
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
- Poptop - The PPTP Server for Linux
- Poptop Questions & Answers
- poptop (pptpd) mail archive
- Linux: IPX over PPP
- Tom's IPX Tunneling Daemon
- #pptp @ FreeNode