*BSD News Article 78327


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!serv.hinet.net!news.uoregon.edu!arclight.uoregon.edu!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: IP forwarding
Date: 14 Sep 1996 13:08:03 +0100
Organization: Coverform Ltd.
Lines: 21
Message-ID: <51e773$is@anorak.coverform.lan>
References: <513hrs$ca@anorak.coverform.lan> <519mm2$euk@cayman.priconet.de>
NNTP-Posting-Host: localhost.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Marc Zimmermann (marc@cayman.priconet.de) wrote:
: Brian Somers (brian@awfulhak.demon.co.uk) wrote:
: > On a machine w/ 3 interfaces, is there any way to forward IP between two
: > of them, but not the third ?  For example, I have two subnets & a ppp
: > to the internet - I want the subnets to talk, but not send crap onto
: > the 'net.

: No problem. Build a kernel with ipfw in it. Then use ipfw like this

: ipfw add 100 deny all from any to any in via iface

: (maybe you  will have to  specify  a keyword  before the "in",  cannot
: tell, right now.)

: Works supern, here-

Yep (*bang* shoots me in the head) thanks for all responses (via mail too).

--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....