Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Aug 2013 07:49:59 -0400
From:      Fbsd8 <fbsd8@a1poweruser.com>
To:        Karl Pielorz <kpielorz_lst@tdx.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Static Jail ID's (JID's) for use with IPFW?
Message-ID:  <52023467.4030609@a1poweruser.com>
In-Reply-To: <6AEEAD32A5BF3013464C98A1@Mail-PC.tdx.co.uk>
References:  <6AEEAD32A5BF3013464C98A1@Mail-PC.tdx.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Karl Pielorz wrote:
> 
> Hi,
> 
> I have a number of jailed systems running - and I've been setting up 
> ipfw rules for them.
> 
> This is on FBSD 9.1.
> 
> 'ipfw' lets you match on traffic to/from a Jail ID (JID) - however every 
> time jails get started / stopped their JID changes [thus breaking the 
> firewall rules].
> 
> I can't see anywhere to 'statically' configure a JID to a Jail (i.e. in 
> /etc/rc.conf).
> 
> Is this possible? / How?
> 
> Thanks,
> 
> -Karl 


Use the jails IP address in the hosts IPFW rules.






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