403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/examples/pf/queue2
# $FreeBSD: releng/12.4/share/examples/pf/queue2 173536 2007-11-11 01:16:51Z mlaier $
# $OpenBSD: queue2,v 1.4 2006/10/07 04:48:01 mcbride Exp $
# advanced queue example.
# give interactive ssh traffic priority over ssh bulk transfers (scp, sftp)

ext_if="dc0"
developerhosts="192.168.2.0/24"
employeehosts="192.168.0.0/23"

altq on $ext_if cbq bandwidth 5Mb queue { std, http, mail, ssh }

queue std bandwidth 10% cbq(default)
queue http bandwidth 60% priority 2 cbq(borrow red) { employees, developers }
queue  developers bandwidth 75% cbq(borrow)
queue  employees bandwidth 15%
queue mail bandwidth 10% priority 0 cbq(borrow ecn)
queue ssh bandwidth 20% cbq(borrow) { ssh_interactive, ssh_bulk }
queue  ssh_interactive bandwidth 25% priority 7
queue  ssh_bulk bandwidth 75% priority 0

block return out on $ext_if inet all queue std
pass out on $ext_if inet proto tcp from $developerhosts to any port 80 \
    queue developers
pass out on $ext_if inet proto tcp from $employeehosts to any port 80 \
    queue employees
pass out on $ext_if inet proto tcp from any to any port 22 \
    queue(ssh_bulk, ssh_interactive)
pass out on $ext_if inet proto tcp from any to any port 25 \
    queue mail

Youez - 2016 - github.com/yon3zu
LinuXploit