LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   strange problem with pptpd and windows clients (https://www.linuxquestions.org/questions/linux-networking-3/strange-problem-with-pptpd-and-windows-clients-897657/)

m.sabouri 08-16-2011 12:29 PM

strange problem with pptpd and windows clients
 
I'm running a pptp vpn server on my xen VPS . the only purpose of this vpn is to surf the web anonymously . but I'm getting strange results with windows clients . they can't open some websites, like balatarin.com, mail.yahoo.com or some parts of other sites, like downloading from mediafire.com and etc . I can do all this stuff using linux pptp clients
I tried almost every OS my VPS provider ( kiloserve.com ) has, but still got the same results . I think it must have something to do with xen . anyone have any idea ?

I used this iptables rules for forwarding traffic ( from archlinux wiki )
Code:

iptables -A INPUT -i ppp+ -j ACCEPT
iptables -A OUTPUT -o ppp+ -j ACCEPT

iptables -A INPUT -p tcp --dport 1723 -j ACCEPT
iptables -A INPUT -p 47 -j ACCEPT
iptables -A OUTPUT -p 47 -j ACCEPT

iptables -F FORWARD
iptables -A FORWARD -j ACCEPT

iptables -A POSTROUTING -t nat -o eth0 -j MASQUERADE
iptables -A POSTROUTING -t nat -o ppp+ -j MASQUERADE

here's my pptpd configs

/etc/ppp/pptpd-options
Code:

name pptpd
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128
ms-dns (some dns server)
proxyarp
nodefaultroute
locknobsdcomp


/etc/pptpd.conf
Code:

option /etc/ppp/pptpd-options
logwtmp
localip 192.168.13.1
remoteip 192.168.13.100-200

and in chap-secrets I assign static IPs to each client, in the same range as remoteip


All times are GMT -5. The time now is 10:16 PM.