Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jun 2001 16:31:43 -0500 (CDT)
From:      Nick Rogness <nick@rogness.net>
To:        Chuck Rock <carock@epconline.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   RE: Natd and IPFW ( I think I've asked before with no help)...
Message-ID:  <Pine.BSF.4.21.0106211626460.13834-100000@cody.jharris.com>
In-Reply-To: <003101c0fa8a$46041f40$1805010a@epconline.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 21 Jun 2001, Chuck Rock wrote:

> I misunderstood my techs...
> 
> The forwarding of aliased IP's is working fine. The port forwarding for
> aliased IP's they couldn't get working.
> 
> I'm going to make sure we've tried all the possible commands for forwarding
> ports before I post again.
> 
> What I'm told now is that the aliased real IP's on an interface can't be
> forwarded by port number to an internal IP.
> 
> xl0 has inet=206.206.206.206 and alias IP of 206.206.206.207 and they want
> to forward port 80 coming into the alias ip 206.206.206.207 to 10.0.0.1 and
> port 25 coming into 206.206.206.207 to 10.0.0.2

	Add the following options to your nat configuration:

	redirect_port tcp 10.0.0.1:80 206.206.206.207:80
	redirect_port tcp 10.0.0.2:25 206.206.206.207:25

> 
> They haven't figured out how to get this working. If anyone has succesfully
> done this, a little help figuring out which of the three port forwarding
> command sytax's to use would be great.
> 

	You should also be doing proxy-arp for the 206.206.206.207 IP or
	it MAY not work from the outside world.


Nick Rogness <nick@rogness.net>
 - Keep on Routing in a Free World...
  "FreeBSD: The Power to Serve!"


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?Pine.BSF.4.21.0106211626460.13834-100000>