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