LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 02-04-2010, 08:17 AM   #1
Farrukh Fida
Member
 
Registered: Jun 2006
Location: Dubai
Distribution: Cent OS
Posts: 34

Rep: Reputation: 15
PPTP VPN Server


Hi,
I'm using CentOS 5 and I use following configuration.

file /etc/ppp/options.pptpd as below: -

name pptpd
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128
proxyarp
lock
nobsdcomp
novj
novjccomp
nologfd

file /etc/pptpd.conf as below: -

option /etc/ppp/options.pptpd
logwtmp
localip 192.168.2.1
remoteip 192.168.2.11-15

/etc/ppp/chap-secrets as below: -

# Secrets for authentication using CHAP
# client server secret IP addresses
ffidx pptpd passwrd *

service pptpd start

/etc/sysctl.conf

net.ipv4.ip_forward = 1

sysctl -p




But when I dial from windows it shows error:619

and

tail -f /var/log/messages

Feb 4 18:15:15 trixbox1 pptpd[6673]: CTRL: Client 192.168.1.221 control connection started
Feb 4 18:15:15 trixbox1 pptpd[6673]: CTRL: Starting call (launching pppd, opening GRE)
Feb 4 18:15:15 trixbox1 pppd[6674]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so is for pppd version 2.4.3, this is 2.4.4
Feb 4 18:15:15 trixbox1 pptpd[6673]: GRE: read(fd=6,buffer=804e560,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Feb 4 18:15:15 trixbox1 pptpd[6673]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Feb 4 18:15:15 trixbox1 pptpd[6673]: CTRL: Client 192.168.1.221 control connection finished

note there is no firewall enabled, i'm using webmin and in firewall all traffic are allowed.

I have no idea stuck here badly.

Last edited by Farrukh Fida; 02-07-2010 at 05:43 AM.
 
Old 02-08-2010, 02:44 AM   #2
Farrukh Fida
Member
 
Registered: Jun 2006
Location: Dubai
Distribution: Cent OS
Posts: 34

Original Poster
Rep: Reputation: 15
Hi,
I found solution. I downgrade my system from "trixbox-2.8.0.1" to "trixbox-2.6.1-i386" and follow guide from following:

http://blog.doylenet.net/?p=17

I installed pptpd from rpm.

It is working now.
 
  


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
PPTP VPN Server Setup cheeeze Linux - Server 2 07-22-2009 01:39 PM
LXer: Linux Configure point to point tunneling PPTP VPN client for Microsoft PPTP vpn server LXer Syndicated Linux News 0 06-13-2007 08:46 AM
PPTP Vpn Server cmrnaidu Programming 1 07-12-2006 08:54 PM
Pptp Vpn Server cmrnaidu Linux - Networking 1 06-30-2006 05:01 AM
Need help in establishing a pptp vpn server depam Linux - Software 1 03-31-2006 03:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:42 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