| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/examples/pf/ |
Upload File : |
# $FreeBSD: releng/12.4/share/examples/pf/queue1 173536 2007-11-11 01:16:51Z mlaier $
# $OpenBSD: queue1,v 1.4 2006/10/07 04:48:01 mcbride Exp $
ext_if = "dc0"
altq on $ext_if cbq bandwidth 10Mb \
queue { deflt, http, ssh, mail, rsets }
queue deflt bandwidth 10% priority 0 cbq(default ecn)
queue http bandwidth 1.5Mb priority 3 { http_vhosts, http_cust1 }
queue http_vhosts bandwidth 40% cbq(borrow red)
queue http_cust1 bandwidth 0.5Mb
queue mail bandwidth 10% priority 1
queue ssh bandwidth 100Kb priority 7 cbq(borrow)
queue rsets bandwidth 7500b priority 0 cbq(red)
block return in on $ext_if inet all queue rsets
pass in on $ext_if inet proto tcp from any to any port 80 queue http
pass out on $ext_if inet proto tcp from any to any port 22 queue ssh
pass in on $ext_if inet proto tcp from any to any port 22 queue ssh
pass out on $ext_if inet proto tcp from any to any port 25 queue mail
pass out on $ext_if inet all