Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Aug 2000 04:05:42 -0400 (EDT)
From:      Jeff Palmer <jeff@isni.net>
To:        John Braun <uktests@yahoo.com>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: your mail
Message-ID:  <Pine.BSF.4.21.0008140401470.2176-100000@jeff.isni.net>
In-Reply-To: <20000814074556.25474.qmail@web1401.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
You are using non-routable IP's  (10.x.x.x)
You would need to enable NAT (Network Address Translation)


add IPFIREWALL and IPDIVERT to your kernel config, recompile, and reboot.
next:  grep -i nat /etc/defaults/rc.conf | grep -v ppp >> /etc/rc.conf

then use your favorite text editor to modify the NAT stuff in /etc/rc.conf
paying special attention to natd_enable  (should be YES)
and natd_interface  (should be your external interface)



Jeff Palmer
jeff@isni.net



On Mon, 14 Aug 2000, John Braun wrote:

> How can I make my BSD 4.0 box as network router?=20
> I have installed BSD 4.0 (in figure "ROUTER")
> and setup option gateway_enabled =3D "YES" and
> router _enabled =3D "YES"
>=20
>=20
>=20
>=20
>      | INTERNET
>      |
>      |
>  ____|_________
> |              |
> |  Provaider   |
> |______________|
>      |212.50.55.73/255.255.255.248
>      |
>      |
>      |212.50.55.74/255.255.255.248
>  ____|__________
> |               |
> | BSD 4.0 ROUTER|
> |_______________|
>      |192.168.0.1/255.255.255.0
>      |
>    __|_______________________=20
>   |                          |
>   |192.168.0.2/255.255.255.0
> |192.168.0.3/255.255.255.0
>  _|____________             _|____________
> |              |           |              |
> |BSD 4.0 mailer|           | BSD 4.0 proxy|
> |______________|           |______________|
>   |10.1.51.2/255.255.255.0   |10.1.51.3/255.255.255.0
>  _|__________________________|_______________
> |                                                    =20
>     |=20
> |      LOCAL NETWORK 10.1.51.0/255.255.255.0         =20
>     |
> |____________________________________________
>=20
> But it doesn't work.=20
> I can't ping any Internet=20
> IP (from local network comp 10.1.52.3).
> Where may be a problem?=20
>=20
>=20
> regards, Uldis
>=20
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Mail =96 Free email you can access from anywhere!
> http://mail.yahoo.com/
>=20
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message
>=20
>=20



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




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