On Fri, 28 Dec 2001, Nick Rogness wrote:

> On Fri, 28 Dec 2001, Julian Elischer wrote:
> 
> > Also, in versions of FreeBSD before 4.6, packets matched while
> > INCOMING could only be forwarded to the local host. Outgoing packets
> > could be forwarded to an adjoining host. This was fixed while 4.5 was
> > cooking and appeared in releases after that. The port number is only
> > used for forwarding to the local host.
> 
>       Um, so you can now fwd based on incoming packets?  EX:
> 
>       ipfw fwd 10.1.2.3 ip from any to 1.1.1.1 in via ed0

That will now work in -current and will in 4.x when I MFC it..
I looked in the man page and didn't see this mentionned I'l read it better
again and fix it if it's now Out of date.

Hmm I still can't find that example..
AHHHH found it....
will fix by removing 
"and the rule only applies to packets leaving the system"

is that what you are refering to?


> 
>       Or is it still the way it is stated in the ipfw man page? EX:
> 
>       ipfw fwd 10.1.2.3 ip from any to 1.1.1.1 out recv ed0 xmit xl0

That will still work...

> 
> 
> Nick Rogness <[EMAIL PROTECTED]>
>  - Don't mind me...I'm just sniffing your packets
> 
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to