pptp vpn server cofiguration problem? - PPP
This is a discussion on pptp vpn server cofiguration problem? - PPP ; Hi all,
I am trying to setup pptp vpn server in office to connect windows
clients from home, but no success for last two weeks. my linx system
has
1. SuSe Linux 8.2 (kernel 2.4.20-4GB)
2. pptpd --version (PoPToP v1.1.2)
...
-
pptp vpn server cofiguration problem?
Hi all,
I am trying to setup pptp vpn server in office to connect windows
clients from home, but no success for last two weeks. my linx system
has
1. SuSe Linux 8.2 (kernel 2.4.20-4GB)
2. pptpd --version (PoPToP v1.1.2)
3. two ethernet cards
eth0:142.120.20.222 local connection
eth1:162.159.237.251 internet connection(permannetly connected with
fixed ip)
4. configured Windows XP PPTP client as documented,all
authentication(PAP,CHAP,MSCHAP) enabled,ISDN modem connection for
internet access
when i connect windows xp client, it stays in authentication mode
until it is disconnected. on linux side following are my configuration
files & log messages
----------pptpd.conf------------------------------------
speed 115200
option /etc/ppp/options.pptpd
debug
localip 142.120.20.222
remoteip 142.120.20.5-9
pidfile /var/run/pptpd.pid
---------end pptpd.conf--------------------------------
in log file,local ip is different,don't know it should be eth0 or eth1
ip?
---------/etc/ppp/options.pptpd----------------
## CHANGE TO SUIT YOUR SYSTEM
lock
## turn pppd syslog debugging on
debug
## change 'pptpd' to whatever you specify as your server name in
chap-secrets
name damokles
mtu 1490
mru 1490
proxyarp
auth
+chap
#+chapms #This one is optional and my be omitted.
#+chapms-v2
#ipcp-accept-local
#ipcp-accept-remote
#lcp-echo-failure 3
#lcp-echo-interval 5
deflate 0
#mppe-128
#mppe-40
nodeflate
nobsdcomp
# This option applies if you use ppp with chapms-strip-domain patch
#chapms-strip-domain
# These options apply if you use ppp with mppe patch
# NB! You should also apply the ChapMS-V2 patch
#-chap
#-chapms
#+chapms-v2
#mppe-128
#mppe-stateless
# These options will tell ppp to pass on these to your clients
# To use ms-wins or ms-dns in options.pptpd it must exist in
/etc/resolv.conf
#ms-wins your.server.here
#ms-dns your.server.here
---------------------end
options.pptpd---------------------------------
---------------------chap-secrets----------------------------------
# Secrets for authentication using CHAP
# client server secret IP addresses
koenig * koenig *
----------------------end chap-secrets----------------------------
when client is connected I can't see any ppp0 inerface which should
be?..
-----------------here is my messages log--------------------------
Aug 27 15:27:09 damokles kernel: PPP MPPE compression module
unregistered
Aug 27 15:27:09 damokles kernel: PPP MPPE compression module
registered
Aug 27 15:27:18 damokles pptpd[13304]: MGR: Launching
/usr/sbin/pptpctrl to handle client
Aug 27 15:27:18 damokles pptpd[13304]: CTRL: local address =
192.168.0.2
Aug 27 15:27:18 damokles pptpd[13304]: CTRL: remote address =
192.168.1.2
Aug 27 15:27:18 damokles pptpd[13304]: CTRL: pppd speed = 115200
Aug 27 15:27:18 damokles pptpd[13304]: CTRL: pppd options file =
/etc/ppp/options.pptpd
Aug 27 15:27:18 damokles pptpd[13304]: CTRL: Client 212.144.148.35
control connection started
Aug 27 15:27:18 damokles pptpd[13304]: CTRL: Received PPTP Control
Message (type: 1)
Aug 27 15:27:18 damokles pptpd[13304]: CTRL: Made a START CTRL CONN
RPLY packet
Aug 27 15:27:18 damokles pptpd[13304]: CTRL: I wrote 156 bytes to the
client.
Aug 27 15:27:18 damokles pptpd[13304]: CTRL: Sent packet to client
Aug 27 15:27:18 damokles pptpd[13304]: CTRL: Received PPTP Control
Message (type: 7)
Aug 27 15:27:18 damokles pptpd[13304]: CTRL: 0 min_bps, 1525 max_bps,
32 window size
Aug 27 15:27:18 damokles pptpd[13304]: CTRL: Made a OUT CALL RPLY
packet
Aug 27 15:27:18 damokles pptpd[13304]: CTRL: Starting call (launching
pppd, opening GRE)
Aug 27 15:27:18 damokles pptpd[13304]: CTRL: pty_fd = 5
Aug 27 15:27:18 damokles pptpd[13304]: CTRL: tty_fd = 6
Aug 27 15:27:18 damokles pptpd[13305]: CTRL (PPPD Launcher):
Connection speed = 115200
Aug 27 15:27:18 damokles pptpd[13305]: CTRL (PPPD Launcher): local
address = 192.168.0.2
Aug 27 15:27:18 damokles pptpd[13305]: CTRL (PPPD Launcher): remote
address = 192.168.1.2
Aug 27 15:27:18 damokles pppd[13305]: pppd 2.4.2b3 started by root,
uid 0
Aug 27 15:27:18 damokles pptpd[13304]: CTRL: I wrote 32 bytes to the
client.
Aug 27 15:27:18 damokles pptpd[13304]: CTRL: Sent packet to client
Aug 27 15:27:18 damokles pppd[13305]: using channel 41
Aug 27 15:27:18 damokles pppd[13305]: Using interface ppp0
Aug 27 15:27:18 damokles pppd[13305]: Connect: ppp0 <--> /dev/pts/2
Aug 27 15:27:18 damokles pppd[13305]: sent [LCP ConfReq id=0x1
1490>
03> ]
Aug 27 15:27:18 damokles pptpd[13304]: CTRL: Received PPTP Control
Message (type: 15)
Aug 27 15:27:18 damokles pptpd[13304]: CTRL: Got a SET LINK INFO
packet with standard ACCMs
Aug 27 15:27:21 damokles pppd[13305]: sent [LCP ConfReq id=0x1
1490>
03> ]
Aug 27 15:27:45 damokles last message repeated 8 times
Aug 27 15:27:48 damokles pppd[13305]: LCP: timeout sending
Config-Requests
Aug 27 15:27:48 damokles pppd[13305]: Connection terminated.
Aug 27 15:27:48 damokles pppd[13305]: Exit.
Aug 27 15:27:48 damokles pptpd[13304]: Error reading from pppd:
Input/output error
Aug 27 15:27:48 damokles pptpd[13304]: CTRL: GRE read or PTY write
failed (gre,pty)=(6,5)
Aug 27 15:27:48 damokles pptpd[13304]: CTRL: Client 212.144.148.35
control connection finished
Aug 27 15:27:48 damokles pptpd[13304]: CTRL: Exiting now
Aug 27 15:27:48 damokles pptpd[13114]: MGR: Reaped child 13304
---------------------end log file
--------------------------------------------
i have read many howto and changed many options, but no solution.
hope some one can guide me.
Regards.
dilbir ...
-
Re: pptp vpn server cofiguration problem?
dilbir <00005637@no-id.com> wrote:
> I am trying to setup pptp vpn server in office to connect windows
> clients from home, but no success for last two weeks.
....
> hope some one can guide me.
Your best hope is to post to comp.os.linux.networking.
--
Clifford Kite Email: "echo xvgr_yvahk-ccc@ri1.arg|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
/* They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." Benjamin Franklin */