From owner-freebsd-questions@FreeBSD.ORG Thu Jun 2 14:31:28 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15A1116A41C for ; Thu, 2 Jun 2005 14:31:28 +0000 (GMT) (envelope-from dmitry.mityugov@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2E0143D49 for ; Thu, 2 Jun 2005 14:31:27 +0000 (GMT) (envelope-from dmitry.mityugov@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so315565wri for ; Thu, 02 Jun 2005 07:31:27 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jGxXrxsSdfDpQw7JsxXXi/y7J/XaToAaktAAPmBlGni9P2g6onLKKkdgHw2JUuFWoI6NlOvyf/BEMd+nGgsOSp+gbGXjfKlHsrM4+8OmLWNyUbeSnwNm8BDuMpmVJKMt/kPnCphLsT/7FLgaI0PmiPxHDbvv3mbCsZ7y0K9LmZk= Received: by 10.54.154.12 with SMTP id b12mr592623wre; Thu, 02 Jun 2005 07:30:37 -0700 (PDT) Received: by 10.54.56.33 with HTTP; Thu, 2 Jun 2005 07:30:37 -0700 (PDT) Message-ID: Date: Thu, 2 Jun 2005 18:30:37 +0400 From: Dmitry Mityugov To: James In-Reply-To: <200506020458.28185.james@idea-anvil.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200506020447.35717.james@idea-anvil.net> <200506020458.28185.james@idea-anvil.net> Cc: freebsd-questions@freebsd.org Subject: Re: ppp filling /var X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dmitry Mityugov List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2005 14:31:28 -0000 On 6/2/05, James wrote: > Forgot to include this: >=20 > FreeBSD 4.11-RELEASE-p2 #3 >=20 > # cat ppp.conf: >=20 > default: > set device PPPoE:ed0 > set speed sync > set mru 1492 > set mtu 1492 > set ctsrts on > #enable dns > enable lqr > set log phase tun > add default HISADDR > dsl: > set authname **************** > set authkey ****************** >=20 >=20 > # cat ppp.linkup > MYADDR: > !bg /sbin/natd -f /etc/natd.conf >=20 > #cat natd.conf > interface tun0 > log yes > use_sockets yes > same_ports yes > redirect_port udp 10.0.0.10:53 53 > redirect_port tcp 10.0.0.101:22 22 > redirect_port tcp 10.0.0.101:25 25 > redirect_port tcp 10.0.0.101:80 80 > redirect_port tcp 10.0.0.101:110 110 > redirect_port tcp 10.0.0.101:443 443 > redirect_port tcp 10.0.0.101:587 587 Not sure if this even possible but if nobody else gives a better idea - can't this be caused by natd, or the way you start it from ppp.linkup? Can you use nat embetted in ppp instead? --=20 Dmitry "We live less by imagination than despite it" - Rockwell Kent, "N by E"