# cat /proc/sys/net/netfilter/nf_conntrack_helper
# 0
# echo 1 > /proc/sys/net/netfilter/nf_conntrack_helper
# cat /proc/sys/net/netfilter/nf_conntrack_helper
#1
Fix the problem.
Blog dans lequel je note comme aide-mémoire les trucs et astuces que j'ai utilisés pour configurer selon mes besoins mes machines sous Linux Ubuntu Raspbian Macosx Windows.
Rechercher dans ce blog
Affichage des articles dont le libellé est ufw. Afficher tous les articles
Affichage des articles dont le libellé est ufw. Afficher tous les articles
samedi 2 décembre 2017
mercredi 9 décembre 2015
UFW enable no logging UBUNTU / LINUX
vi /lib/ufw/ufw-init-functions
Coller ça:
if [ ! -z "$LOGLEVEL" ]; then
/usr/sbin/ufw logging $LOGLEVEL || true
fi
juste avant ça dans la fonction ufw_start()
if [ ! -z "$IPT_SYSCTL" ] && [ -s "$IPT_SYSCTL" ]; then
sysctl -e -q -p $IPT_SYSCTL || true
fi
if [ "$error" = "yes" ]; then
/bin/echo -e "$out"
return 1
fi
/etc/ufw# vi ufw.conf
# Please use the 'ufw' command to set the loglevel. Eg: 'ufw logging medium'.
# See 'man ufw' for details.
LOGLEVEL=off
Coller ça:
if [ ! -z "$LOGLEVEL" ]; then
/usr/sbin/ufw logging $LOGLEVEL || true
fi
juste avant ça dans la fonction ufw_start()
if [ ! -z "$IPT_SYSCTL" ] && [ -s "$IPT_SYSCTL" ]; then
sysctl -e -q -p $IPT_SYSCTL || true
fi
if [ "$error" = "yes" ]; then
/bin/echo -e "$out"
return 1
fi
/etc/ufw# vi ufw.conf
# Please use the 'ufw' command to set the loglevel. Eg: 'ufw logging medium'.
# See 'man ufw' for details.
LOGLEVEL=off
Inscription à :
Articles (Atom)