Using pf in jail

folivora

Active Member

Reaction score: 3
Messages: 102

Hello,

Can i I run pf inside the jail[ ]?

I am trying to use pf inside of the jail, but it doens't doesn't load up.

i I have enabled pf in jail rc.conf.

Question goes, is this even possible ?

- Folivora
 

graudeejs

Son of Beastie

Reaction score: 694
Messages: 4,615

AFAIK, Only if you use VIMAGE
Otherwise no.

Sorry I don't know the details about VIMAGE
 
OP
OP
F

folivora

Active Member

Reaction score: 3
Messages: 102

Thanks,

I just noticed that jail doesn't have it's its own kernel.


- Folivora
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 7,548
Messages: 30,264

You normally use the firewall that's running on the host. But as killasmurf86 noted, you may be able to use VIMAGE. Not sure if it would work with PF, I haven't tried it myself.
 

graudeejs

Son of Beastie

Reaction score: 694
Messages: 4,615

I think It works with ipfw only (there was some discussion about this on mailing list)
 
Top