all! I have a PPTP-server based on Ubuntu Server 11.04. It works fine, about 30 clients are connected without problems. These clients are DFL-210 and Mikrotik gateways.
VPN_WAN_IP=10.0.0.1 VPN_LOCAL_IP=192.168.1.1 VPN_CLIENTS_IP=192.168.1.2-100
But when I'm trying connect to PPTP-server via Windows XP/2003 PPTP-client, it receive ip address from server, but can't ping server's ip 192.168.1.1.
/etc/pptpd.conf:
option /etc/ppp/options.pptpd
bcrelay eth0
debug
localip 192.168.1.1
remoteip 192.168.1.2-200
logwtmp
/etc/ppp/options.pptpd:
name pptpd
debug
lock
# Auth
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
nomppe-40
# Network
nodefaultroute
proxyarp
nobsdcomp
Excuse me for my English.
When PPTP-client is Windows 7, then connection is all right.
Route tables on Windows 7 and Windows XP have one difference:
Network Address Netmask Gateway Iface Metric
192.168.1.0 255.255.255.0 192.168.1.29 192.168.1.29 1 (WinXP)
...
192.168.1.0 255.255.255.0 192.168.1.1 192.168.1.29 21 (Win 7)