Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #354704
    JoseyWales
    Participant

    I’ve followed the instructions in the vpnd article to the letter, but it doesn’t work!

    When I try connecting via PPTP, I get the message “Authentication failed”.

    In the log file, it says (I’ve taken out my IP address):

    pppd[529]: PPTP incoming call in progress from ‘nnn.nnn.nnn.nnn’…
    mach_kernel: pptp_wan_attach, link index = 0, (ld = 0x1acb304)
    pppd[529]: PPTP connection established.
    pppd[529]: Using interface ppp0
    pppd[529]: Connect: ppp0 <–> socket[34:17]
    pppd[529]: Warning – secret file /etc/ppp/chap-secrets has world and/or group access
    pppd[529]: MSCHAP-v2 peer authentication succeeded for pflvpn
    pppd[529]: MPPE 128 bit, stateless compression enabled
    pppd[529]: Could not determine local IP address
    pppd[529]: Connection terminated.
    pppd[529]: Connect time 0.1 minutes.
    pppd[529]: Sent 605 bytes, received 332 bytes.
    pppd[529]: PPTP disconnecting…
    pppd[529]: PPTP disconnected
    pppd[529]: Exit.

    Any ideas?

    #354706
    JoseyWales
    Participant

    They’re in /etc/ppp/pptp_addresses – but yes, they’re there.

    #354741
    Anonymous
    Participant

    I have followed the instructions to set up the VPND but when I try to connect using a PPTP client I get the following message in the vpnd.log:

    2002-11-07 04:56:02 ESTPPTP connection accepted <my IP Address>; leased IP 10.0.1.156 to child 22284
    2002-11-07 04:56:02 ESTChild process 22284 quit with exit status 2.

    Any ideas?

    #356483
    timan24
    Participant

    I have the same error on my log. Has anyone got an answer for this one?

    #356513
    barrie robinson
    Participant

    I’ve setup and tested VPN as per your instructions. Works fine. I’m connecting from ‘Mac Internal IP (192.168.50.25)’ to ‘Server Internal IP (192.168.50.100)’. However, when I use the ‘External Subdomain (vpn.server.com)’ with port 1723 (TCP) routed through to ‘Server Internal IP (192.168.50.100)’ VPN connects, then immediatly disconnects.

    So…

    192.168.50.25 <–> 192.168.50.100 – works
    192.168.50.25 <–> vpn.server.com <–>192.168.50.100 – immediate disconnect.

    Here’s the log:

    Oct 2 15:09:41 theserver pppd[10123]: pppd 2.4.0 started by admin, uid 0
    Oct 2 15:09:41 theserver pppd[10123]: PPTP incoming call in progress from ‘217.44.138.144’…
    Oct 2 15:09:41 theserver mach_kernel: pptp_wan_attach, link index = 0, (ld = 0x282d004)
    Oct 2 15:09:41 theserver pppd[10123]: PPTP connection established.
    Oct 2 15:09:41 theserver pppd[10123]: Using interface ppp0
    Oct 2 15:09:41 theserver pppd[10123]: Connect: ppp0 <–> socket[34:17]
    Oct 2 15:10:11 theserver pppd[10123]: PPTP hangup
    Oct 2 15:10:11 theserver pppd[10123]: Connection terminated.
    Oct 2 15:10:11 theserver pppd[10123]: PPTP disconnecting…
    Oct 2 15:10:11 theserver pppd[10123]: PPTP disconnected
    Oct 2 15:10:11 theserver pppd[10123]: Exit.

    Bearing in mind I haven’t tested this from an external source as yet. That may be the issue (the loop through). But I thought I’d post just incase it could be something else.

    Thanks

    Barrie

    #356514
    timan24
    Participant

    Just a quickie to say, I went though my setup again, and found that I had 2 typos, and one change that needed to be corrected.

    The first was in the – /etc/hostconfig file.
    I had a space between the quotes in the line – VPN_ARGS=””
    After removing this spac eit worked much better.
    The next change was in – /etc/ppp/pptp_service
    I had a semi-colon instead of a colon, after my own IP address.
    The final one was instead of naming the Password file chap-secrets, i had used an underscore instead of the hypen.

    I dont know if this will help anyone, but it would pay to have a close look at your typing. It now works perfectly except that I have to run the VPN Server on a different subnet and bridge it to the network, because of a Allied Telesyn Router that we use for a VPN to other branches.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

Comments are closed