Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2002 18:45:15 -0800 (PST)
From:      Chern Lee <chern@FreeBSD.org>
To:        agusri dodi <dodix2000@yahoo.com>
Cc:        <gostrdr@defcon1.org>, <doc@FreeBSD.org>
Subject:   Re: natd does not work
Message-ID:  <20020315184339.B80263-100000@www.freebsdmall.com>
In-Reply-To: <20020315151635.17663.qmail@web20601.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Try freebsd-questions@freebsd.org for help, this is a documentation
discussion list.

I suggest reading the ppp(8) man page (man ppp).  You'll have to look at
the -nat option, you cannot use natd over a PPP connection.

- chern

On Fri, 15 Mar 2002, agusri dodi wrote:

> I have been setting up FreeBSD Box as a gateway to the
> internet. my lan card is intel (fxp0),activating ppp
> with Kppp from KDE.I have turned on the IPFIREWALL and
> IPDIVERT within the kernel.Conection between
> server(BSD) and the other client is OK (Using ping
> command).
>
> But the natd doesn't work(PC using unregistered ip
> can't connect to the internet)
>
> what should I do ?
>
> here is the content of
> my configuration files:
>
> content of rc.firewall:
>      /sbin/ipfw -f flush
>      /sbin/ipfw add divert natd all from any to any
> via fxp0
>     /sbin/ipfw add pass all from any to any
>
>
> content of  rc.conf :
> hostname="server.silicom.net"
> sendmail_enable="NO"
>
> moused_port="/dev/cuaa0"
> moused_enable="YES"
>
> network_interfaces="fxp0  lo0 "
> ifconfig_fxp0="inet 192.168.1.1 netmask 255.255.255.0
> "
> ifconfig_lo0="inet 127.0.0.1"
>
> natd_enable="YES"
> interface_out="fxp0"
> firewall_enable="YES"
> firewall_logging="YES"
> natd_interface="fxp0"
> type="OPEN"
> gateway_enable="YES"
>
> THANK FOR REPLY
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - live college hoops coverage
> http://sports.yahoo.com/
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-doc" in the body of the message
>


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




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