Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Nov 15, 2011 11:38 pm 
Offline

Joined: Tue Nov 15, 2011 11:26 pm
Posts: 1
I just set up a PPTP VPN server on the vps. Now I can connect my VPN server with windows 7 and I can ping/traceroute any websites successfully after VPN connection, but I'm unable to browse internet via VPN connection. It seems DNS works fine but data transfer or something on routing failed.

BTW: /var/log/messages says:
Code:
pppd 2.4.4 started by root, uid 0
Using interface ppp0
Connect: ppp0 <--> /dev/pts/0
CTRL: Ignored a SET LINK INFO packet with real ACCMs!
MPPE 128-bit stateless compression enabled
Cannot determine ethernet address for proxy ARP
local  IP address 192.168.25.1
remote IP address 192.168.25.31


I'm confused by the message "Cannot determine ethernet address for proxy ARP". I'm a newbie and I have no idea what's wrong with it.

If you have any solutions to this issue I will be much appreciated.

/////////////////////////////////////////////////////
CentOS 5.6 Profile (Latest 3.0 (3.0.4-linode38))
Installed applications: Kloxo, webmin

below is my config for pptp vpn server:


Code:
yum install -y ppp iptables
mkdir pptpd-install
cd pptpd-install
wget  http://poptop.sourceforge.net/yum/stable/packages/pptpd-1.3.4-2.rhel5.i386.rpm
rpm -ivh pptpd-1.3.4-2.rhel5.i386.rpm


--------  conf begin ---------------

/etc/pptpd.conf
localip 192.168.25.1
remoteip 192.168.25.31-35


/etc/ppp/options.pptpd
ms-dns 8.8.8.8
ms-dns 8.8.4.4

/etc/ppp/chap-secrets
vpn_id pptpd vpn_pwd *

/etc/sysctl.conf
net.ipv4.ip_forward = 1
# net.ipv4.tcp_syncookies = 1

/etc/sysconfig/iptables-config
# IPTABLES_MODULES="ip_conntrack_netbios_ns"

--------  conf end ---------------

sysctl -p

cd /etc/init.d
mv iptables ~/iptables.bak
wget http://epoxie.net/12023.txt && cat 12023.txt | tr -d ‘\r’ > iptables
chmod +x iptables
rm -rf 12023.txt

mknod /dev/ppp c 108 0

iptables -t nat -A POSTROUTING -s 192.168.25.0/24 -o eth0 -j MASQUERADE

/etc/init.d/iptables save
/etc/init.d/iptables restart
/etc/init.d/pptpd restart
chkconfig pptpd on
chkconfig iptables on


/////////////////////////////////////////////////////


Top
   
 Post subject:
PostPosted: Wed Nov 16, 2011 1:56 am 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
Why bother? PPTP has been cracked for well over a decade, it's the screendoor of VPN protocols. Waaaaaay better to use OpenVPN which is actually secure.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group