Gaming_VPN_Using_PPTPD
Revision 11 as of 2005-08-04 14:52:02
Clear message
How to set up Gaming VPN using PPTPD
TODO.
Current problem(s):
- Only one IPX connection is accepted
Server, Linux
Packing and authentication (except plain text) is not used because it eats bandwidth.
apt-get install pptpd ipx ipxripd
/etc/ppp/options
lock #debug
/etc/ppp/pptpd-options
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
/etc/pptpd.conf
option /etc/ppp/pptpd-options logwtmp localip 172.20.0.1 remoteip 172.20.0.2-172.20.0.254 # not required necessary #listen 44.33.22.11
iptables
echo 1 > /proc/sys/net/ipv4/ip_forward echo 1 > /proc/sys/net/ipv4/ip_dynaddr
/etc/ppp/chap-secrets
Add all VPN users here
# 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
/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
[http://astrolog.offline.ee/linux/ppp-ipx.shtml Linux: IPX over PPP]
[http://sourceforge.net/mailarchive/forum.php?forum_id=8250 poptop (pptpd) mail archive]
[http://poptop.sourceforge.net/dox/qna.html Poptop Questions & Answers]
[http://tipxd.sourceforge.net/ Tom's IPX Tunneling Daemon]
#pptp @ FreeNode