Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2001 23:03:58 +0800
From:      "Kathy Quinlan" <katinka@magestower.com>
To:        "Matthew Emmerton" <matt@gsicomp.on.ca>, <jacks@sage-american.com>
Cc:        <daniel.chayvialle@laposte.net>, <questions@FreeBSD.ORG>
Subject:   Re: PPPoE
Message-ID:  <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
> > 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
____________________________________________________________________________




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?017701c179b0$4b60e1d0$fe00a8c0>