LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-16-2011, 12:29 PM   #1
m.sabouri
LQ Newbie
 
Registered: Aug 2011
Posts: 3

Rep: Reputation: Disabled
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Strange problem with Alteon - not working in some linux clients antoniogmyo Linux - Networking 1 12-16-2010 05:26 AM
Smtp server in C : problem with windows clients fredbull Programming 3 06-21-2006 03:11 AM
Problem Joining Windows XP Clients to Suse PDC Domain dula Linux - Networking 2 04-07-2006 08:28 AM
Linux DNS - Windows clients problem tommynet Linux - Networking 4 08-13-2003 12:33 PM
Networking Problem: Redhat 8.0 as a Server - Windows 98SE as clients Haxor Linux - Networking 10 03-19-2003 08:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration