ppp is broken???

J.D. Bronson jbronson at sixcompanies.com
Mon May 7 13:12:19 UTC 2007


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 at 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



More information about the freebsd-questions mailing list