[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-net
Subject:    Re: VPN client with mpd
From:       Brian Somers <brian () freebsd-services ! com>
Date:       2001-09-22 20:35:46
[Download RAW message or body]

> Hi,
> 
> I'm trying to set up a VPN client on my FreeBSD laptop, so I can tunnel
> through to work from home. I've played with both mpd and pptpclient from
> ports, and mpd seems more robust (pptpclient likes to sometimes start
> eating all CPU time). So I'd decided to to this with mpd; please let me
> know if this was the wrong choice from the start.
> 
> Here's my setup:
> 
> LAPTOP <-----> NAT <--...INTERNET...--> VPN-SERVER <-----> INTRANET
> 
> I started with the examples under /usr/local/etc/mpd, slightly changing
> the defaults to what I thought were the correct values for my setup.
> I've created mpd.secret with the correct login/password mapping for
> LOGIN.
> 
> Here's my mpd.conf:
> 
> 	default:
> 	        load vpn
> 	
> 	vpn:
> 	        new -i ng1 vpn vpn
>         	set iface disable on-demand
>         	set iface addrs 192.168.1.1 192.168.2.1
>         	set iface idle 0
>         	set iface route 192.168.2.0/24
>         	set bundle disable multilink
>         	set bundle authname <LOGIN>
>         	set link yes acfcomp protocomp
>         	set link no pap
>         	set link yes chap
                ^^^^^^^^^^^^^^^^^
I'm no mpd expert, but I believe this makes mpd insist that the peer 
authenticates itself.

Try removing it.

[.....]
-- 
Brian <brian@freebsd-services.com>                <brian@Awfulhak.org>
      http://www.freebsd-services.com/        <brian@[uk.]FreeBSD.org>
Don't _EVER_ lose your sense of humour !      <brian@[uk.]OpenBSD.org>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic