I am new to Linux/BSD.
I am using FREEBSD 11 .
Whenever I try to initiate PF with the pf.conf as below, it gives the error as in the image.
I have loaded a custom kernel as shown in altq(4).
My pf.conf is,
I am using FREEBSD 11 .
Whenever I try to initiate PF with the pf.conf as below, it gives the error as in the image.
I have loaded a custom kernel as shown in altq(4).
My pf.conf is,
Code:
pass inet proto icmp from any to any
pass log (all) proto icmp from any to any
altq on le0 cbq bandwidth 500Kb queue { http_out, ssh_out, icmp_out }
oldqueue http_out bandwidth 50% cbq(default borrow red)
pass out le0 proto { tcp } from le1 port { www } keep state queue http_out
oldqueue ssh_out bandwidth 25% cbq(borrow red)
pass out le0 proto { tcp } from le1 port { ssh } keep state queue ssh_out
oldqueue icmp_out bandwidth 20% cbq(borrow red)
altq on le1 cbq bandwidth 500Kb queue { http_in, ssh_in, icmp_in }
oldqueue http_in bandwidth 50% cbq(default borrow red)
pass in le1 proto { tcp } from le0 port { www } keep state queue http_in
oldqueue ssh_in bandwidth 25% cbq(borrow red)
pass in le1 proto { tcp } from le0 port { ssh } keep state queue ssh_in
oldqueue icmp_in bandwidth 20% cbq(borrow red)
pass log (all) proto tcp from any to any port www keep state