Problem about the PPTP server
From: Michael Liao (lsq07122000@yahoo.com)Date: 02/10/02
- Next message: OneLouder: "Re: New Spyware"
- Previous message: OneLouder: "Re: New Spyware"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: lsq07122000@yahoo.com (Michael Liao) Date: 10 Feb 2002 00:43:15 -0800
I am trying to connect to a pptp server on my company's network from a
win 2k client. but when I want to get a VPN connection, my win2k
client complaints that "Error 619: the specified port is not
connected."
My VPN server is Linux2.2.14, and I use the "ipchains" as follows:
ipchains -A forward -s 192.168.0.0/24 -d ! 192.168.0.0/24 -j MASQ
ipchains -I forward -s 192.168.2.0/24 -d ! 192.168.2.0/24 -j MASQ
192.168.0.0 is my company's network, and 192.168.2.0 is my vpn
address.
#ifconfig -a
eth0 192.168.0.1 ...
eth1 noarp up broadcast ... (for adsl)
eth1:0 192.168.2.1
gre0 ...
tunl0 ...
ppp0 ...(used by adsl)
ppp1 ...(may be used by pptpd)
when I want to get a vpn connection, some log messages will occur:
pptpd syslog:CTRL:Client 202.105.109.245 control connection started
pptpd syslog:CTRL:Starting call(launching the pppd, opening GRE)
pptpd syslog:CTRL:Allocating pty/tty pair
pptpd syslog:CTRL:Allocated pty/tty pair(/dev/ptyp0, /dev/ttyp0)
pppd 2.3.8 started by (unknown), uid 0
using interface ppp1
connect: ppp1<-->/dev/ttyp0
pptpd syslog:GRE:Discarding duplicate packet (<------ I lose this line
first, sorry!!)
LCP: timeout sending Config-Requests
Connection terminated
Exit
pptpd syslog:GRE:read(fd=10, buffer=c0ac60b0, len=8192)from PTY
failed:status=-1 error= Error -5)
pptpd syslog:CTRL:PTY read or GRE write failed(pty, gre)=(10, 11)
pptpd syslog:CTRL:Client 202.105.109.245 control connection finished
my pptpd is pptpd-1.0.1 and /etc/pptpd.conf is:
option /etc/options.pptp
localip 192.168.2.1
remoteip 192.168.2.100
/etc/options.pptp:
lock
noauth
require-chap
proxyarp
/etc/ppp/chap-secrets:
96169 * 96169 *
/etc/ppp/pap-secrets:
96169 * 96169 *
what can I open this VPN server to work?
Thanks!!
- Next message: OneLouder: "Re: New Spyware"
- Previous message: OneLouder: "Re: New Spyware"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|