Rozdiely pre scripts/shell/firewall/fw-universal.sh medzi verziami 2.42 a 2.43
| verzia 2.42, 2006/03/12 22:23:40 |
verzia 2.43, 2006/08/09 11:41:13 |
| Riadok 723 log_forward_drop() |
|
| Riadok 723 log_forward_drop() |
|
| |
|
| } # }}} |
} # }}} |
| |
|
| |
configure_special_rules() |
| |
{ # {{{ |
| |
|
| |
echo -en "Loading special rules: " |
| |
## |
| |
## for DSL from slovanet (Slovak DSL provider) you must add following rule for proper ssh connect to your machine |
| |
## |
| |
# echo -en "slovanet " |
| |
# $IPTABLES -t mangle -A OUTPUT -s 0/0 -j DSCP --set-dscp 0 |
| |
|
| |
echo " done."; |
| |
|
| |
} # }}} |
| |
|
| do_ip_accounting() |
do_ip_accounting() |
| { # {{{ |
{ # {{{ |
| |
|
|
|
| log_forward_drop |
log_forward_drop |
| forward_on |
forward_on |
| do_ip_accounting |
do_ip_accounting |
| |
configure_special_rules |
| $IPTABLES_SAVE -c > $CACHE_FILE |
$IPTABLES_SAVE -c > $CACHE_FILE |
| ;; |
;; |
| |
|
Platon Group <platon@platon.sk> http://platon.sk/
|
|