Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: fc065263eb
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 30 lines (20 sloc) 0.619 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
-- My conception of what the conf file will look like
-- Inheritance and programming by exception
-- env["TC"] = "~d/git/iproute2/tc/tc"

wireless["QMODEL"] = "sfqred"
wireless["DIFFSERV"] = "extreme"
ethernet["QMODEL"] = "sfq"

-- Examples of more specific rules

ge00["BINS"] = 256
ge00["QMODEL"] = "twotorrent"
ge00["UPLINK"] = 4000
ge00["DOWNLINK"] = 100000

-- firewall rules

ge00["NAT"] = true
ge00["CLAMP_MSS"] = "MTU"

zone["SECURE"] = "s+"
zone["GUEST"] = "g+"

-- But working this out is hard without many hashes

zone_to["GUEST"] = ALLOW
zone_from["GUEST"] = ALLOW

secure[zone_from["GUEST"]] = EXCEPTIONS
Something went wrong with that request. Please try again.