Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2001 11:55:54 -0700 (PDT)
From:      Adam LaBarge <phinger@best.com>
To:        freebsd-newbies@FreeBSD.ORG
Subject:   ipfw packet fwd
Message-ID:  <Pine.BSF.4.21.0108151151130.14330-100000@shell18.ba.best.com>

next in thread | raw e-mail | index | archive | help
Hi again.  Thanks for the help, I would really like to just do the ipfw
rules for fwding the port 25 to an internal machine.  I can not manage to
get the rule right though.  this is what i could best come up with.  but
it throws a syntax error.  any one with any ideas, that get it working, i
will mail you a six pack of your more fav beer.  thanks

This is what I have tried
ipfw add 150 divert all from XXX.XXX.XXX:25 to 10.0.0.26:25
--errors out
ipfw divert 150 all from XXX.XXX.XXX:25 to 10.0.0.26:25
--errors out
ipfw add 150 divert all from XXX.XXX.XXX 25 to 10.0.0.26 25
--errors out

how is this rule writen?  thanks
-adam


How many times have you committed suicide?


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