Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2001 21:50:31 -0800 (PST)
From:      Archie Cobbs <archie@dellroad.org>
To:        Thor Legvold <tlegvold@hotmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: mpd-netgraph configuration files
Message-ID:  <200111230550.fAN5oVZ90201@arch20m.dellroad.org>
In-Reply-To: <F54u33GOe6hLT2ROONw00000f5c@hotmail.com> "from Thor Legvold at Nov 21, 2001 06:42:59 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Thor Legvold writes:
> Still debugging, some questions to verify I have the proper config.
> 
> FBSD dual homed host/gw for a home LAN
> dc0	home LAN	192.168.128.0/24
> wi0	ISP WAN		10.10.0.0/16
> 
> IPFW and NAT are running, ipfw is wide open at present, natd running -m -s 
> -dynamic on wi0. Don't know if I need anything else special on nat for PPTP 
> to work.
> 
> My ISP has a pool of dynamically assignable (DHCP) routable IP's that they 
> assign via a PPTP server at 10.10.1.1. The routable IP's are in the range 
> 213.225.121.0/24 as far as I understand.
> 
> My config looks like this:
> 
> # mpd.conf
> access:
>   new -i ng0 access access
>   set iface idle 0
>   set iface route default
>   set iface disable on-demand
>   set bundle disable multilink
>   set bundle authname "myreallogin"
>   set bundle password "myrealpassword"
>   set link yes pap
>   set link yes chap

	Replace "yes" with "allow" in the above two lines.

>   set link no mppc

	Not a valid command.. maybe you mean 'set ccp no mppc' ?

>   set link disable no-orig-auth
>   set ipcp ranges 0.0.0.0/0 10.10.1.1/0
> and links like this:
> 
> # mpd.links
> access:
>   set link type pptp
>   set pptp mode active
>   set pptp peer 10.10.1.1
>   set pptp enable originate outcall

> Does this appear at all correct? My ISP knows a bit about Linux (they use it 
> for the PPTP/VPN server, running PoPToP), and said I needed a "name" 
> variable somewhere, at least when connecting from Linux (but not Windows). 
> Should I use the "set link ident" for this?

Are you sure they don't want you to do PPPoE instead of PPTP?
PPPoE requires a name, but PPTP doesn't.

-Archie

__________________________________________________________________________
Archie Cobbs     *     Packet Design     *     http://www.packetdesign.com

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111230550.fAN5oVZ90201>