| 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 | | | INTIF="wlan0,wlan1,ath2" |
| 17 | | | EXTIF="ath0,eth0,ath1" |
| 18 | | | |
| 19 | | | # list hosts on internal devices here, multiple lines of the form: |
| 20 | | | # DEVINT="<host>,<description>" |
| 21 | | | # DEVINT="!<host>,<description>" |
| 22 | | | # |
| 23 | | | |
| 24 | | | # list hosts on external devices here, multiple lines of the form: |
| 25 | | | # DEVEXT="<host>,<description>" |
| 26 | | | # DEVEXT="!<host>,<description>" |
| 27 | | | # |