Static Jail ID's (JID's) for use with IPFW?
    Fbsd8 
    fbsd8 at a1poweruser.com
       
    Wed Aug  7 11:50:17 UTC 2013
    
    
  
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.
    
    
More information about the freebsd-questions
mailing list