Date: Tue, 28 May 2002 14:31:35 -0400 From: "Dan Langille" <dan@langille.org> To: Dominic Marks <dominic_marks@btinternet.com> Cc: freebsd-hackers@freebsd.org Subject: Re: how to automagically restart net/pptpclient? Message-ID: <20020528183156.6C6113F35@bast.unixathome.org> In-Reply-To: <20020528093236.A7916@host217-39-111-112.in-addr.btop> References: <20020528045812.0F4F93F35@bast.unixathome.org>; from dan@langille.org on Tue, May 28, 2002 at 12:57:52AM -0400
next in thread | previous in thread | raw e-mail | index | archive | help
On 28 May 2002 at 9:32, Dominic Marks wrote: > On Tue, May 28, 2002 at 12:57:52AM -0400, Dan Langille wrote: > > I have installed net/pptpclient (1.0.3). About 5 times a week, it dies > > and must be restarted. Does anyone have a script which checks and > > restarts it if it has died? > > You might like to try one of the other PPTP clients on offer. I > switched from using pptpclient to mpd and think it is superior. This > is all covered in the Handbook :) > > http://www.freebsd.org/handbook/pppoa.html That looks good. I've tried it, but have been unable to connect to the office, which is running an MS PPtP server. I know the *can* work because pptp-client can connect. Does anyone have a working configuration I can use as an example please? For what it's worth, I'm using this configuration (as stolen from /usr/local/etc/mpd/mpd.conf.sample). vpn: new -i ng1 vpn vpn set iface disable on-demand set iface addrs 192.168.0.20 10.0.1.18 set iface idle 0 set iface route 10.0.1.0/24 set pptp peer 1.2.3.4 set bundle disable multilink set bundle authname me set bundle password mypassword set link yes acfcomp protocomp set link no pap set link yes chap # If remote machine is NT you need this.. set link enable no-orig-auth set link keep-alive 10 75 set ipcp no vjcomp set ipcp ranges 192.168.0.20/32 10.0.1.18/32 where 1.2.3.4 is the public IP address of the office 192.168.0.20 is the internal NIC of my dual-homed gateway 10.0.1.0/24 is the interal office LAN -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ - practical examples To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020528183156.6C6113F35>