The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

Article Feedback - Rewriting URLs within Apache
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 PPTP server
Author: Enkhmanlai 
Date:   14-03-05 04:23

Hello. I want intsall PPTP server but i can't. I installed but contain some error. This error is

/usr/sbin/pppdU unknown host: loop
Mar 14 20:36:40 pptp pppd[805]: unknown host: loop
Mar 14 20:36:40 pptp pppd[804]: GRE: read(fd05,buffer=804d500,len=8196) from PTY failed: status = 0 error = No error
Mar 14 20:36:40 pptp pppd[804]: CTRL: PTY read or GRE write failed (pty,gre)=(5,6)

You can help me.
My configured file.

My intranal LAN IP is 192.168.0.1

external LAN 202.55.*.*

Client IP 192.168.0.2
PPTP server's config files
/usr/local/etc/pptpd.conf

option /etc/ppp/ppp.conf
#bcrelay eth1
debug
nobsdcomp
proxyarp
localip 192.168.0.1
remoteip 192.168.0.200-238
pidfile /var/run/pptp.pid
??v2
mppe-40
mppe-128
mppe-stateless

etc/ppp/ppp.conf

loop:
set timeout 0
set log phase chat connect lcp ipcp command
set device localhost:pptp
set dial
set login
# Server (local) IP address, Range for Client, and Netmask
# if you want to use NAT use ptivate IP addresses
set ifaddr 192.168.0.1 192.168.0.200-192.168.0.254 255.255.255.0
add default HISADDR
set server /tmp/loop "" 0177

loop-in:
set timeout 0
set log phase lcp ipcp command
allow mode direct

pptp:
load loop
disable pap
# Authudenticate against /etc/passwd
enable passwdauth
disable ipv6cp
enable proxy
accept dns
enable MSChapV2
enable mppe
disable deflate pred1
deny deflate pred1
set dns 202.55.176.10
set device !/etc/ppp/secure

/etc/ppp/ppp.secret

#user #password
manlai manlai
1982 1

/etc/ppp/secret

#!/bin/sh
exec /usr/sbin/ppp -direct loop-in

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org