Re: ppp filling /var

From: James (james_at_idea-anvil.net)
Date: 06/03/05

  • Next message: netroot_at_everyday.com.kh: "Re: freebsd-questions Digest, Vol 97, Issue 21"
    To: freebsd-questions@freebsd.org
    Date: Thu, 2 Jun 2005 17:13:17 -0700
    
    

    On Thursday 02 June 2005 07:30 am, Dmitry Mityugov wrote:
    > On 6/2/05, James <james@idea-anvil.net> wrote:
    > > Forgot to include this:
    > >
    > > FreeBSD 4.11-RELEASE-p2 #3
    > >
    > > # cat ppp.conf:
    > >
    > > 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 ******************
    > >
    > >
    > > # cat ppp.linkup
    > > MYADDR:
    > > !bg /sbin/natd -f /etc/natd.conf
    > >
    > > #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?

    It is natd causing this. I configured this box a while ago, and if I remember correctly, I didn't use the ppp -nat is that I had alot of problems with the ipfw rules.
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: netroot_at_everyday.com.kh: "Re: freebsd-questions Digest, Vol 97, Issue 21"