More small changes.
parent
007cca9db5
commit
36b881204b
|
@ -586,11 +586,13 @@ if [ $IPV6 ]; then
|
||||||
display_c YELLOW "Loading custom IPv6 trust rules..."
|
display_c YELLOW "Loading custom IPv6 trust rules..."
|
||||||
. "$BASEDIR/include/ipv6_custom_trust"
|
. "$BASEDIR/include/ipv6_custom_trust"
|
||||||
fi
|
fi
|
||||||
for i in $IPV6TRUSTED; do
|
if [ "$IPV6_TRUSTED" ]; then
|
||||||
|
for i in $IPV6_TRUSTED; do
|
||||||
echo -n "$i "
|
echo -n "$i "
|
||||||
$IP6TABLES -A INPUT -s $i -j ACCEPT
|
$IP6TABLES -A INPUT -s $i -j ACCEPT
|
||||||
$IP6TABLES -A OUTPUT -d $i -j ACCEPT
|
$IP6TABLES -A OUTPUT -d $i -j ACCEPT
|
||||||
done
|
done
|
||||||
|
fi
|
||||||
reset_color
|
reset_color
|
||||||
|
|
||||||
if [ -s "$BASEDIR/include/ipv4_custom_blockip" ]; then
|
if [ -s "$BASEDIR/include/ipv4_custom_blockip" ]; then
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo "This script converts certain aspects of old config files, such as renamed variables"
|
echo "This script converts certain aspects of old config files, such
|
||||||
echo "to the new variable names. It is NOT foolproof, so please check your config files"
|
echo "as renamed variables to the new variable names. It is NOT foolproof"
|
||||||
echo "afterwards."
|
echo "so please check your config files afterwards."
|
||||||
|
|
||||||
sed -e 's/IPV6FORWARD/IPV6_FORWARD/' \
|
sed -e 's/IPV6FORWARD/IPV6_FORWARD/' \
|
||||||
-e 's/IPV6CONNTRACK/IPV6_CONNTRACK/' \
|
-e 's/IPV6CONNTRACK/IPV6_CONNTRACK/' \
|
||||||
|
|
Loading…
Reference in New Issue