Home › Forums › OS X Server and Client Discussion › Questions and Answers › Setting up vpnd
- This topic has 6 replies, 5 voices, and was last updated 21 years, 6 months ago by
timan24.
-
AuthorPosts
-
October 29, 2002 at 8:09 pm #354704
JoseyWales
ParticipantI’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?
October 30, 2002 at 12:23 am #354706JoseyWales
ParticipantThey’re in /etc/ppp/pptp_addresses – but yes, they’re there.
November 7, 2002 at 10:14 am #354741Anonymous
ParticipantI 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?
September 29, 2003 at 4:55 am #356483timan24
ParticipantI have the same error on my log. Has anyone got an answer for this one?
October 2, 2003 at 2:41 pm #356513barrie robinson
ParticipantI’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
October 2, 2003 at 8:49 pm #356514timan24
ParticipantJust 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.
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed