Date: Sun, 12 Sep 1999 20:30:36 -0700 From: "Sean J. Schluntz" <schluntz@redwolf.workofstone.net> To: cjclark@home.com Cc: freebsd-questions@freebsd.org Subject: Re: ipfw and divert question. Message-ID: <199909130405.VAA05026@c956029-a.haywd2.sfba.home.com> In-Reply-To: Your message of "Sun, 12 Sep 1999 23:31:15 EDT." <199909130331.XAA15945@cc942873-a.ewndsr1.nj.home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <199909130331.XAA15945@cc942873-a.ewndsr1.nj.home.com>, "Crist J. Cl ark" writes: >Sean J. Schluntz wrote, >First, and foremost, rule every IP packed that comes in matches rule >65000 and is therefore passed along before they ever get to the divert >in rule 65000. Good point, I had missed that. >Second, if you are just forwarding everything from one port to another >on the local machine, why bother with divert (which I really wonder if >you are using properly) when I think something like this should work, I don't know if I am using it properly, which is why I wrote in the first place. I've worked with ipfw before, but only for protection, not for any type of redirection. ># ipfw add 300 fwd 127.0.0.1,8000 ip from any to localhost 80 Two things, first this line is not accepted by ipfw: "ipfw: error: only TCP and UDP protocols are valid with port specifications" Second, would that confuse httpd and make it think all requests are comming in on localhost (which would break virtual-hosting.)? -Sean 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?199909130405.VAA05026>