Date: Mon, 5 Feb 2001 13:16:08 +0200 From: Marc Silver <marcs@looney.co.za> To: Pater Pandoson <ppandoson@eCoNeed.com> Cc: so@server.i-clue.de, "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG> Subject: Re: ipfw divert Message-ID: <20010205131608.A22925@looney.co.za> In-Reply-To: <3A7E873F.12A346A6@eCoNeed.com>; from ppandoson@eCoNeed.com on Mon, Feb 05, 2001 at 10:58:07AM %2B0000 References: <3A7E6421.8D0E6E27@eCoNeed.com> <3A7E6AF4.7F78064A@i-clue.de> <3A7E873F.12A346A6@eCoNeed.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I think this may help: First of all you'll need to add the following option to your kernel: options IPFIREWALL_FORWARD #enable transparent proxy support Once you've done this, you can add a rule like this to your firewall which will forward connections on certain ports to other machines on your network ( I think anyway ) : ipfw add fwd 192.168.0.1,80 tcp from any to ${ip} 80 setup ${ip} is in this example your outside interface (ie. tun0). Cheers, Marc On Mon, Feb 05, 2001 at 10:58:07AM +0000, Pater Pandoson wrote: > Thanks for that, it seems to work just fine for me. > But I still think this is posable with ipfw rules, any helpers? > > Pater 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?20010205131608.A22925>