Rozdiely pre scripts/shell/firewall/fw-universal.sh medzi verziami 2.119 a 2.120
| verzia 2.119, 2019/02/14 07:41:47 |
verzia 2.120, 2019/02/14 23:14:32 |
|
|
| # Licensed under terms of GNU General Public License. |
# Licensed under terms of GNU General Public License. |
| # All rights reserved. |
# All rights reserved. |
| # |
# |
| # $Platon: scripts/shell/firewall/fw-universal.sh,v 2.118 2018/12/10 11:46:12 nepto Exp $ |
# $Platon: scripts/shell/firewall/fw-universal.sh,v 2.119 2019/02/14 07:41:47 nepto Exp $ |
| # |
# |
| # Changelog: |
# Changelog: |
| # 2003-10-24 - created |
# 2003-10-24 - created |
| Riadok 823 allow_accept_vrrp() |
|
| Riadok 823 allow_accept_vrrp() |
|
| for iface in $IFACE_ACCEPT_VRRP; do |
for iface in $IFACE_ACCEPT_VRRP; do |
| print_info -en " $iface" |
print_info -en " $iface" |
| $IPTABLES -A INPUT -i $iface -d 224.0.0.18/32 -p vrrp -j ACCEPT; |
$IPTABLES -A INPUT -i $iface -d 224.0.0.18/32 -p vrrp -j ACCEPT; |
| $IPTABLES -A OUTPUT -i $iface -d 224.0.0.18/32 -p vrrp -j ACCEPT; |
$IPTABLES -A OUTPUT -o $iface -d 224.0.0.18/32 -p vrrp -j ACCEPT; |
| done |
done |
| print_info " done." |
print_info " done." |
| fi |
fi |
Platon Group <platon@platon.sk> http://platon.sk/
|
|