Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2001 09:38:39 -0600
From:      jacks@sage-american.com
To:        "Kathy Quinlan" <katinka@magestower.com>, "Matthew Emmerton" <matt@gsicomp.on.ca>
Cc:        <daniel.chayvialle@laposte.net>, <questions@FreeBSD.ORG>
Subject:   Re: PPPoE
Message-ID:  <3.0.5.32.20011130093839.010dd790@mail.sage-american.com>
In-Reply-To: <017701c179b0$4b60e1d0$fe00a8c0@wskatinka>
References:  <Pine.BSF.4.21.0111300938330.67007-100000@xena.gsicomp.on.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
As in my earlier message, I have both enabled and running perfectly. I'm
using the named daemon for a nameserver in the same box.... It couldn't
resolve DNS for the clients until I enabled the named daemon and I left the
setting for nat enabled in ppp.

At 11:03 PM 11.30.2001 +0800, Kathy Quinlan wrote:
>> > nat should be enabled in ppp, but put natd lines in your rc.conf too (as
>> > per /etc/defaults/rc.conf)....
>>
>> Actually, no.  You can only use PPP's NAT facility *or* /sbin/natd (aka
>> natd_enable="YES" in /etc/rc.conf.)  Attempting to use both at the same
>> time will just cause problems.  If you don't have any special
>> requirements, PPP's NAT will work just fine.
>
>OK I have a question then (as I heard the same that both cause a problem)
>
>I disable nat in ppp.conf and no machines can access the outside world, I
>know natd is running, as I have a port 80 redirection with it. any ideas ??
>
>I am also using PPPoE with telstra ADSL. bellow is my natd.conf
>
>Regards,
>
>Kat.
>
> interface rl0
> dynamic
> unregistered_only
> use_sockets
> same_ports
> punch_fw 6666:10
> redirect_port tcp 192.168.0.2:33025-33050 33025-33050
> redirect_port udp 192.168.0.2:33025-33050 33025-33050
> redirect_port tcp 192.168.0.3:33051-33075 33051-33075
> redirect_port udp 192.168.0.3:33051-33075 33051-33075
> redirect_port tcp 192.168.0.4:33076-33100 33076-33100
> redirect_port udp 192.168.0.4:33076-33100 33076-33100
> redirect_port tcp 192.168.0.254:33000-33024 33000-33024
> redirect_port udp 192.168.0.254:33000-33024 33000-33024
>
>
> redirect_port tcp 192.168.0.69:80 80    #redirection for web server
>
><EOF>
>
>____________________________________________________________________________
> /"\   ASCII Ribbon Campaign  |        K.A.Q. Electronics
> \ / - NO HTML/RTF in e-mail | Software and Electronic Engineering
> X  - NO Word docs in e-mail  |      Perth Western Australia
> / \                                            |        Ph +61 419 923 731
>____________________________________________________________________________
>
>
>
>
>

Best regards,
Jack L. Stone,
Server Admin

Sage-American
http://www.sage-american.com
jacks@sage-american.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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