Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jul 2004 21:27:09 +0000
From:      "Christian S.J. Peron" <csjp@freebsd.org>
To:        hackers@freebsd.org
Subject:   [patch] attach ipfw rules to jails
Message-ID:  <20040705212709.GA70873@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
I have written support for attaching ipfw rules to jails. I am 
looking for some testers/feedback.

http://people.freebsd.org/~csjp/ip_fw_jail.diff

NOTES:
o Apply the patch
o cd /usr/src && make includes
o rebuild your kernel (or just the ipfw module)
o rebuild the ipfw userspace utility;

Syntax:

ipfw add count ip from any to any jail 1

"jail" takes a numeric argument, a jail ID.

For those of you who dont know, jail IDs can be retrieved using
the jls(8) utility.

Input would be greatly appriciated.
Thanks!

-- 
Christian S.J. Peron
csjp@FreeBSD.ORG
FreeBSD Committer



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040705212709.GA70873>