Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Aug 2001 09:02:56 +1200
From:      Jonathan Chen <jonathan.chen@itouch.co.nz>
To:        GARGIULO Eduardo INGDESI <YAPEDU@SIDERAR.COM>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: custom setup
Message-ID:  <20010810090256.B93773@itouchnz.itouch>
In-Reply-To: <F06719ACCB96D311B52C0008C7B1518B02A25D2C@SARZSEX2>; from YAPEDU@SIDERAR.COM on Thu, Aug 09, 2001 at 11:47:25AM -0300
References:  <F06719ACCB96D311B52C0008C7B1518B02A25D2C@SARZSEX2>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 09, 2001 at 11:47:25AM -0300, GARGIULO Eduardo INGDESI wrote:
> Hi. I'm running debian GNU/Linux and I'm interested in switch to FreeBSD.
> I want to know if is possible to configure a system like i'm using now
> under FreeBSD.
> The layout is the following
> 
> internet --- router ---- eth0 linuxbox eth1 --- switch
>                                   |
>                                    --- eth2 --- switch
> 
> I have a small class C network (6 IP addresses).
> eth1 IP address is 0.0.0.0 and I'm using ARP to map the internal servers
> with real IPs. I'm using ipmasquerading throw eth2 to allow internal
> workstation (private network IPs) surf Internet and also using ipforward
> to allow external clientes connect internal servers with private nework IP.
> 
> I know is possible to nat internal LAN under FreeBSD but I don't know if
> is possible to forward external request to internal hosts and to use ARP
> to map internal servers.

With FreeBSD's natd(8) there's no need to do funky ARP mappings. The
natd(8) program has the following options which I think will do what
you want:

	-redirect_address localIP publicIP
	-redirect_port proto targetIP[:targetPORT] remoteIP[:remotePort]

Cheers.
-- 
Jonathan Chen <jonathan.chen@itouch.co.nz>
----------------------------------------------------------------------
                                         "Nyuck, nyuck, nyuck" - Curly

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?20010810090256.B93773>