PPTPD VPN server terminating when registering your computer on the network

Discussion in 'Linux Networking' started by rviola81, May 31, 2005.

  1. rviola81

    rviola81 Guest

    Hello - I am fairly new to the linux world, and I have started to enjoy
    working with it much more. I am tryin to set up a VPN server on my
    internal home network, and I am having some problems connecting. I am
    trying to connect from an internal computer, in order to start the
    trouble shooting, so no routing or port forwarding is not net needed (i
    would assume).

    -My internal network is 192.168.1.*
    -Linux server (redhat 9.0 - shrike) is 192.168.l.20 - Components
    installed:
    -Upgraded PPP to: ppp-2.4.3-5.fc1.i386.rpm
    -Installed pptpd-1.2.1-1.i386.rpm

    Configuration files look as follows:

    IFConfig Looks as followed:


    eth0 Link encap:Ethernet HWaddr 00:B0:D0:60:5F:06
    inet addr:192.168.1.20 Bcast:192.168.1.255
    Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:200 errors:0 dropped:0 overruns:0 frame:0
    TX packets:157 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:100
    RX bytes:21421 (20.9 Kb) TX bytes:20824 (20.3 Kb)
    Interrupt:5 Base address:0xec00

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:10 errors:0 dropped:0 overruns:0 frame:0
    TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:700 (700.0 b) TX bytes:700 (700.0 b)


    /etc/pptpd.conf:

    localip 192.168.2.7
    remoteip 192.168.2.100-253
    listen 192.168.1.20
    option /etc/ppp/options.pptpd
    debug
    logwtmp

    /etc/ppp/options.pptpd:

    name vpn
    refuse-pap
    refuse-chap
    refuse-mschap
    require-mschap-v2
    require-mppe-128
    ms-dns 204.127.*.* (these are not start in the actual file)
    ms-dns 216.148.*.*
    ms-dns 192.168.1.2
    proxyarp
    lock
    nobsdcomp

    /etc/ppp/chap-secrets:

    user vpn tttteeeessssttt1111 192.168.2.190




    I am using windows xp, and 2000 clients to connect to the vpn.

    The client install is the default settings when creating a vpn client
    on MS platforms through add new network connection.

    Errors received on the client machine are usually "Error 737", "Error
    734", or "Error 733"...

    Error logging for the session connection (tail -f /var/log/messages):

    May 30 20:49:42 linux1 pptpd[1832]: CTRL: Client 192.168.1.4 control
    connection started
    May 30 20:49:42 linux1 pptpd[1832]: CTRL: Starting call (launching
    pppd, opening GRE)
    May 30 20:49:42 linux1 pppd[1833]: Plugin
    /usr/lib/pptpd/pptpd-logwtmp.so loaded.
    May 30 20:49:42 linux1 pptpd[1832]: GRE: Bad checksum from pppd.
    May 30 20:49:42 linux1 kernel: application bug: pppd(1833) has SIGCHLD
    set to SIG_IGN but calls wait().
    May 30 20:49:42 linux1 kernel: (see the NOTES section of 'man 2 wait').
    Workaround activated.
    May 30 20:49:42 linux1 kernel: CSLIP: code copyright 1989 Regents of
    the University of California
    May 30 20:49:42 linux1 pptpd[1832]: GRE: Received too short packet from
    pppd.
    May 30 20:49:42 linux1 kernel: PPP generic driver version 2.4.2
    May 30 20:49:42 linux1 pppd[1833]: pppd 2.4.3 started by root, uid 0
    May 30 20:49:42 linux1 pppd[1833]: Using interface ppp0
    May 30 20:49:42 linux1 pppd[1833]: Connect: ppp0 <--> /dev/pts/1
    May 30 20:49:42 linux1 /etc/hotplug/net.agent: assuming ppp0 is already
    up
    May 30 20:49:44 linux1 pppd[1833]: Modem hangup
    May 30 20:49:44 linux1 pppd[1833]: Connection terminated.
    May 30 20:49:44 linux1 pppd[1833]: Exit.
    May 30 20:49:44 linux1 pptpd[1832]: CTRL: Client 192.168.1.4 control
    connection finished
    May 30 20:49:44 linux1 /etc/hotplug/net.agent: NET unregister event not
    supported


    Any Pointers on things I should look at would be helpful to a poor,
    measly linux newbie :)

    Thanking anyone in advance!

    -Rich Viola
     
    rviola81, May 31, 2005
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.