Problem about the PPTP server

From: Michael Liao (lsq07122000@yahoo.com)
Date: 02/10/02


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!!



Relevant Pages

  • RE: VPN issue on SBS2003
    ... I understand that you encountered VPN connection issue when you use VPN to ... Internet clients or VPN to external VPN Server from SBS Client computers? ... Configure E-mail and Internet Connection Wizard ... Total GRE packets sent = 1 ...
    (microsoft.public.windows.server.sbs)
  • RE: PPTP VPN connection problems
    ... The problem is that the VPN does not disconnect. ... However after some idle period I can not send packets across the connection. ... A ping to the server would result in "Request timed out". ... If I connect with the VPN client locally to the internet ...
    (microsoft.public.windows.server.sbs)
  • Re: VPN Ports to Open
    ... the VPN connection after you change the firewall before SBS. ... On the server, please stop the Routing and Remote Access service. ... Total GRE packets sent = 1 ...
    (microsoft.public.windows.server.sbs)
  • Re: Windows 2003 VPN Default Gateway Issues
    ... Ethernet adapter Local Area Connection: ... If the VPN server is configured to use a static IP address ... the default gateway on the client is not the problem. ...
    (microsoft.public.windows.server.networking)
  • RE: VPN Connectivity issues through LAN
    ... I understand that you cannot ping SBS after ... you can establish VPN connection from the remote LAN. ... You have to rerun the CEICW to make sure your SBS 2003 server have right ...
    (microsoft.public.windows.server.sbs)

Quantcast