Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2000 22:41:22 -0800 (PST)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        rayw@tomail.com.tw
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: help about nat's redirect_port
Message-ID:  <Pine.BSF.4.21.0001042238540.44484-100000@resnet.uoregon.edu>
In-Reply-To: <20000105041124.58932.qmail@ms1.tomail.com.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5 Jan 2000 rayw@tomail.com.tw wrote:

>       my nat is working file , but i can't use redirect_port . Is
> somebody can tell me the detail config about redirect_port .

A sample entry may help:

redirect_port tcp bond:ident ident

tcp = protocol to redirect
bond = internal host to direct to
ident = port number to redirect (first one is the port on the internal box
to hit, the second is the port on the external side to expose.)

I found that I kept forgetting the protocol (tcp).

the -f option to natd is really handy for keeping complex configs in
order, btw.  After one redirect_port maintaining the flags in rc.conf
becomes a pain.

Doug White                    |  FreeBSD: The Power to Serve
dwhite@resnet.uoregon.edu     |  www.FreeBSD.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" 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.0001042238540.44484-100000>