I need to know how to fix the missing "/etc/init.d/ufw" file, is it some package or some command?
I used the
gufw to enable it, but on reboot my firewall was still off...
I created a symlink
/etc/init.d/ufw -> /lib/init/upstart-job but I could not make it work like
start ufw (neither after reboot).
I found this file
/lib/ufw/ufw-init, it looks like a init.d file! can I copy or symlink it there?
Additional (optional) questions:
How to find what package has that file?
apt-cache search didnt work..
Can we safely create such a script?
Any idea why is it missing?
ENABLED=yes (but seems useless).
iptables -L becomes different after I
ufw enable, so ufw rules are not being applied on boot by any other means.
PS.: this script did NOT work either
sudo ln -s /lib/ufw/ufw-init /usr/sbin/ufw-init sudo ln -s /lib/init/upstart-job /etc/init.d/ufw-init #sudo update-rc.d -f ufw-init remove sudo update-rc.d ufw-init defaults 99 sudo -k