From owner-freebsd-net@FreeBSD.ORG Tue Oct 28 13:17:26 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8188216A4CE for ; Tue, 28 Oct 2003 13:17:26 -0800 (PST) Received: from trueband.net (director.trueband.net [216.163.120.8]) by mx1.FreeBSD.org (Postfix) with SMTP id 6FFAE43FBD for ; Tue, 28 Oct 2003 13:17:24 -0800 (PST) (envelope-from jhall@vandaliamo.net) Received: (qmail 19299 invoked by uid 1006); 28 Oct 2003 21:16:07 -0000 Received: from jhall@vandaliamo.net by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 2.44. Clear:SA:0(2.8/100.0):. Processed in 1.153922 secs); 28 Oct 2003 21:16:07 -0000 X-Spam-Status: No, hits=2.8 required=100.0 X-Spam-Level: ** Received: from unknown (HELO trueband.net) (127.0.0.1) by -v with SMTP; 28 Oct 2003 21:16:05 -0000 Received: (qmail 19223 invoked from network); 28 Oct 2003 21:16:04 -0000 Received: from unknown (HELO admintool.trueband.net) (127.0.0.1) by -v with SMTP; 28 Oct 2003 21:16:04 -0000 Received: from 199.223.158.225 (SquirrelMail authenticated user jhall@vandaliamo.net) by admintool.trueband.net with HTTP; Tue, 28 Oct 2003 21:16:04 -0000 (GMT) Message-ID: <62764.199.223.158.225.1067375764.squirrel@admintool.trueband.net> Date: Tue, 28 Oct 2003 21:16:04 -0000 (GMT) From: jhall@vandaliamo.net To: freebsd-net@freebsd.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Subject: mpd, ADSL and pptp X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2003 21:17:26 -0000 I am setting up a FreeBSD server to function as a agteway to the Internet as well as maintain the necessary tunnels to our corporate office. All of this should be accomplished over a DSL connection. I have setup mpd to make the PPPoE connection need to connect to the ADSL provider, and it is working without a problem. I am using ng0 for this connection. What is the best way to start natd after the connection to the DSL provider has been established? I am doing this manually right now for testing since I am looking at error messages, etc. I am currently using the following command to load natd. natd -interface ng0, where ng0 PPPoE connection. After the PPPoE connection is established, and I try to start open a pptp connection to the corporate VPN server, I am seeing the following error message. pptp-0: attached to connection with 111.222.333.444:1723 pptp0-0: outgoing call failed: res=admin prohib err=none. The server I am connecting to is also an mpd server. Following is the configuration file for the server. default: load pptp_StCharles pptp_StCharles: new -i ng1 pptp pptp setipcp ranges 10.129.10.40/32 10.129.10.101/32 set iface route 10.129.20.0/24 load client_standard client_standard: set iface disable on-demand set iface enable proxy-arp set iface idle 1800 set bundle enable multilink set link yes acfcomp protocomp set link no pap chap set link enable chap set link mtu 1460 set link keep-alive 10 60 set ipcp yes vjcomp set ipcp dns 10.129.10.41 set bundle enable compression set ccp yes mppc set ccp yes mpp-e40 set ccp yes mpp-e128 set ccp yes mpp-stateless Thanks in advance for your assistance. If you need any additional information, please let me know. Jay