ppp filling /var

James james at idea-anvil.net
Fri Jun 3 00:13:41 GMT 2005


On Thursday 02 June 2005 07:30 am, Dmitry Mityugov wrote:
> On 6/2/05, James <james at 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.


More information about the freebsd-questions mailing list