Hi IPFW mailing list,

 

What would be more efficient, theoretically? Below the two cases I'm
thinking about.

Note that the first 4 commands of case 2 are not really action rules and are
just setting up the table which for the sake of example I included.

 

Case 1)

*       Allow ip from any to any via $lanif
*       Allow ip from any to any via $loopif
*       Allow ip from any to any via $vpnif

 

Case 2)

*       table trustedif create type iface
*       table trustedif add $lanif
*       table trustedif add $loopif
*       table trustedif add $vpnif
*       Allow ip from any to any via "table(trustedif)"

 

Thanks in advance!

 

Regards,

Dries

 

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "[email protected]"

Reply via email to