Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 May 2007 08:11:37 -0500
From:      "J.D. Bronson" <jbronson@sixcompanies.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: ppp is broken???
Message-ID:  <200705071312.l47DCBhd019171@cheyenne.sixcompanies.com>
In-Reply-To: <463F2149.5030101@freemail.hu>
References:  <NBECLJEKGLBKHHFFANMBCEBJCCAA.bob@a1poweruser.com> <463F2149.5030101@freemail.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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