Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Accessing a VPN (PPTP) via the command line' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Accessing a VPN (PPTP) via the command line
Authored by: rnilz on Feb 25, '04 09:59:47AM

Okay, I'm not sure about this put try something like this (from the terminal):

sudo pppd serviceid 2 debug logfile /tmp/ppp.log plugin /System/Library/SystemConfiguration/PPPController.bundle/Contents/PlugIns/PPPDialogs.ppp plugin pptp.ppp remoteaddress xxx.yyy.zzz.aaa redialcount 1 redialtimer 5 idle 1800 mru 1500 mtu 1448 receive-all novj 0:0 noipdefault ipcp-accept-local ipcp-accept-remote user theusername password thepassword hide-password noaskpassword looplocal defaultroute usepeerdns

basically, it sounds like the server doesn't allow chapms-v2 authentication and apple's vpn gui doesn't allow for much configuration of the client. The command line (adapted from the original post) should go through all sorts of authentication protocols. If it works, you could shell script it or apple script it.

Hope this helps



[ Reply to This | # ]