blob: e98a3a1c2104eca9034443c48753ae6c3aa9141f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
ext_if = "lo0"
altq on lo0 cbq bandwidth 10Mb tbrsize 1824 queue { deflt http ssh mail rsets }
queue deflt bandwidth 10% priority 0 cbq( red ecn default )
queue http bandwidth 1.50Mb priority 3 { http_vhosts http_cust1 }
queue http_vhosts bandwidth 40% cbq( red borrow )
queue http_cust1 bandwidth 500Kb
queue mail bandwidth 10%
queue ssh bandwidth 200Kb priority 7 cbq( borrow )
queue rsets bandwidth 150Kb priority 0 cbq( red )
block return in on lo0 inet all queue rsets
pass in on lo0 inet proto tcp from any to any port = 80 flags S/SA queue http
pass out on lo0 inet proto tcp from any to any port = 22 flags S/SA queue ssh
pass in on lo0 inet proto tcp from any to any port = 22 flags S/SA queue ssh
pass out on lo0 inet proto tcp from any to any port = 25 flags S/SA queue mail
pass out on lo0 inet all flags S/SA
|