No Guarda el archivo iptables.rules
Brought to you by:
vmsouza
Estoy ejecutando vuestro programa en un Linux Suse 9.1
Al querer guardar las reglas no funciona
en el archivo save.inc.php arreglé la línea
$cmd="$iptsave > $iptfile";
por
$cmd="sh -c \"$iptsave > $iptfile\"";
y en visudo agrgué permisos para el /bin/sh
Lo mismo hice para el restore.inc.php
En principio es un problema de configuración del sudo
no se si es particular de la distr. de Suse
Saludos
ewirth@hexa.com.uy
Logged In: NO
Touch the archive iptables.rules and then gave permission a+w for him.
# touch /etc/iptables.rules
# chmod a+w /etc/iptables.rules
Now, should be work!
Amauri