From owner-freebsd-questions@FreeBSD.ORG Mon May 7 13:12:19 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 35CF416A400 for ; Mon, 7 May 2007 13:12:19 +0000 (UTC) (envelope-from jbronson@sixcompanies.com) Received: from smtp.sixcompanies.com (smtp.sixcompanies.com [204.13.166.223]) by mx1.freebsd.org (Postfix) with ESMTP id 0F85313C45E for ; Mon, 7 May 2007 13:12:19 +0000 (UTC) (envelope-from jbronson@sixcompanies.com) Received: from cheyenne.sixcompanies.com (adsl-69-210-143-37.dsl.milwwi.ameritech.net [69.210.143.37]) (authenticated bits=128) by smtp.sixcompanies.com (8.14.1+Sun/8.14.1) with ESMTP id l47DCCMX023317 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 7 May 2007 06:12:19 -0700 (PDT) Received: from dakota.sixcompanies.com (cheyenne.sixcompanies.com [10.43.82.170]) by cheyenne.sixcompanies.com (8.14.1+Sun/8.14.1) with ESMTP id l47DCBhd019171 for ; Mon, 7 May 2007 08:12:11 -0500 (CDT) Message-Id: <200705071312.l47DCBhd019171@cheyenne.sixcompanies.com> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Mon, 07 May 2007 08:11:37 -0500 To: freebsd-questions@freebsd.org From: "J.D. Bronson" In-Reply-To: <463F2149.5030101@freemail.hu> References: <463F2149.5030101@freemail.hu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: ppp is broken??? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 May 2007 13:12:19 -0000 At 07:53 AM 05/07/2007, =?ISO-8859-2?Q?Nagy_L=E1szl=F3_Zsolt?= wrote: >>disable iface-alias # Stop adding old IP address as alias when ppp >> # redials because line was lost. These old IPs >> # showed using ifconfig -a on tun0. >> >> iface clear # Remove all previous IP address >> >I'll try this. >>Post contents of your ppp.conf and rc.conf files for review for why you >>keep losing your connection. >> >ppp.conf: > >papchap: ># set log Phase Chat LCP IPCP CCP tun command >set log phase tun command >set device PPPoE:rl0 >set speed sync >set mru 1492 >set mtu 1492 >set ctsrts off >set dial >set login >enable lqr >add default HISADDR ># enable dns # I use my own DNS server (named) >enable tcpmssfixup ># non-default below (hack for pptpd) >set authname ntony@flat.enternet.hu >set authkey i_am_not_telling_this >nat enable yes > nat port tcp 172.16.0.48:3389 51234 Specifying NAT in your ppp.conf is whats causing this. If you add the 2 lines mentioned above, it should take care of this. For people that DONT use NAT within ppp.conf (perhaps they use pf)..this is not an issue normally. -JD -- J.D. Bronson Telecommunications Site Support Aurora West Allis Memorial Hospital Office: 414.978.8282 Fax: 414.977.5299 http://www.myspace.com/wrqz