Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Dec 2000 04:11:13 -0600
From:      "Victor R. Cardona" <vcardona@home.com>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Forwarding a port with IPFilter
Message-ID:  <20001231041113.A694@home.com>
In-Reply-To: <3302351628.978259927@[192.168.1.1]>; from frank.sonnemans@euronet.be on Sun, Dec 31, 2000 at 10:52:07AM %2B0100
References:  <3302351628.978259927@[192.168.1.1]>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Dec 31, 2000 at 10:52:07AM +0100, Frank Sonnemans wrote:
> How do I forward port 80 from my Internet gateway to an unroutable address 
> on my internal network using the ipnat/ipfilter combo. My initial 
> experiments using the redirect statement, failed.
> 
> 
> My configuration is as follows:
> 
> Gateway: 192.168.1.2 on ep0 + 217.x.x.x  dynamic IP on ed0
> Web server: 192.168.1.1 on ed0

I think this will work. Place the following in your /etc/ipnat.rules
file.

rdr ed0 0.0.0.0/0 port 80 -> 192.168.1.1 port 80 tcp

HTH,
Victor Cardona
-- 
 GPG Key fingerprint = 62B1 7995 A830 432C 74E8  1337 EDDB E682 3C76 7404



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?20001231041113.A694>