Solved Load wg and pf modules for jail use?

I'm trying to jail a Wireguard client and noticed that I can't load the wg and pf modules in the jail:

sh:
root@wg:~ # kldstat | grep wg
root@wg:~ # kldstat | grep pf
root@wg:~ # kldload wg
kldload: can't load wg: Operation not permitted
root@wg:~ # kldload pf
kldload: can't load pf: Operation not permitted

Is it correct to load them on the host instead using sysrc or is there something else I should do?
 
Back
Top