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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to