1 | 1 | simandl | # path to iptables or ipchains command |
2 | | | # |
3 | | | IPTABLES="/sbin/iptables" |
4 | | | |
5 | | | |
6 | | | # Which kind of legend shall be used |
7 | | | # set STYLE="bytes" to display all values in bytes/s |
8 | | | # set STYLE="bits" to display all values in bits/s |
9 | | | # |
10 | | | STYLE="bytes" |
11 | | | |
12 | | | # list of interfaces for internal / external hosts |
13 | | | # INTIF=<interfaces connected to your local network (intranet)> |
14 | | | # EXTIF=<interfaces connected to the internet> |
15 | | | # |
16 | 5 | simandl | INTIF="wlan0" |
17 | | | EXTIF="eth0" |
18 | 1 | simandl | |
19 | | | # list hosts on internal devices here, multiple lines of the form: |
20 | | | # DEVINT="<host>,<description>" |
21 | | | # DEVINT="!<host>,<description>" |
22 | | | # |
23 | | | |
24 | 5 | simandl | DEVINT="10.33.24.0/24,flick" |
25 | | | |
26 | 1 | simandl | # list hosts on external devices here, multiple lines of the form: |
27 | | | # DEVEXT="<host>,<description>" |
28 | | | # DEVEXT="!<host>,<description>" |
29 | | | # |
30 | 5 | simandl | |
31 | | | DEVEXT="10.33.6.0/24,jablonka" |