Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 May 2001 02:06:05 -0500 (CDT)
From:      Nick Rogness <nick@rogness.net>
To:        Chris Colllins <chris@collins-ca.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: IPFW Port FW question
Message-ID:  <Pine.BSF.4.21.0105060202540.27490-100000@cody.jharris.com>
In-Reply-To: <20010505205449.B2755-100000@collins.collins-ca.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 5 May 2001, Chris Colllins wrote:

	Sending to -questions instead of -net.

> 
> Hello
> 
> I'm having some trouble getting ipfw to forward. Here is what I have
> been doing.

> 
> ipfw add 312 fwd 192.168.1.7,80 tcp from any to 192.168.1.2 80
> 
> or
> 
> ipfw add 312 fwd 192.168.1.7,80 tcp from any to any 80
> 
> 
> 
> Here is what I am trying to accomplish.
> 
> 
> Router------>NATed----------->BSDA------------>BSDB
> 
> PubIP        192.168.1.1    192.168.1.2      192.168.1.7
> 
> An I would like to forward port 80.
> 
> 
> Does anybody have any suggestions or ideas?

	Forward port 80 from the public side or what?  
	If it's port 80 from the public side then you should be using
	natd's -redirect_port not ipfw fwd.

	See natd's man page for more info.


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.0105060202540.27490-100000>