Gaming_VPN_Using_PPTPD

Differences between revisions 11 and 12
Revision 11 as of 2005-08-04 14:52:02
Size: 1977
Editor: 62
Comment:
Revision 12 as of 2005-08-05 14:29:37
Size: 2312
Editor: hastur
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
Working:
 * TCP/IP
Line 6: Line 9:
 * Sometimes you must reconnect because pptpd/pppd gets into somekind of loop
Line 11: Line 15:
 apt-get install pptpd ipx ipxripd apt-get install pptpd ipx ipxripd
Line 14: Line 18:
=== /etc/ppp/options === === File: /etc/ppp/options ===
File contains only these lines:
Line 20: Line 26:
=== /etc/ppp/pptpd-options === === File: /etc/ppp/pptpd-options ===
File contains only these lines:
Line 38: Line 46:
# authentication # authentication:
Line 46: Line 54:
=== /etc/pptpd.conf === === File: /etc/pptpd.conf ===
File contains only these lines:
Line 51: Line 61:
remoteip 172.20.0.2-172.20.0.254
# not required necessary
remoteip 172.20.0.2-254
# 'listen' is not required necessary
Line 57: Line 67:
Run this:
Line 62: Line 73:
=== /etc/ppp/chap-secrets ===
Add all VPN users here
=== File: /etc/ppp/chap-secrets ===
Add all VPN users to this file
Line 79: Line 90:
Services:
Line 84: Line 96:
 * Create VPN connection.  * Create VPN connection
Line 96: Line 108:
 * [http://poptop.sourceforge.net/ Poptop - The PPTP Server for Linux]
 * [http://poptop.sourceforge.net/dox/qna.html Poptop Questions & Answers]
 * [http://sourceforge.net/mailarchive/forum.php?forum_id=8250 poptop (pptpd) mail archive]
Line 97: Line 112:
 * [http://sourceforge.net/mailarchive/forum.php?forum_id=8250 poptop (pptpd) mail archive]
 * [http://poptop.sourceforge.net/dox/qna.html Poptop Questions & Answers]

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

CategoryDocumentation CategoryGames

Gaming_VPN_Using_PPTPD (last edited 2008-08-06 16:19:21 by localhost)