I was setting the iptables for the INPUT, OUTPUT, and FORWARD chains with just a basic configuration recently with ufw being disabled but as I enabled ufw, then checked the iptables using either iptables -nL or iptables -L, everything is gone! Totally flushed out, what happened??? I thought ufw would integrate with iptables.
I got a problem saving the iptables using this: iptables-save > /root/ipt.save "Permission denied!" even though I was using sudo, so what I did was just iptables-save. I wanted it to be restored after a reboot so that I don't have to set it up again everytime I restarted. I need your thoughts, please help!
Bookmarks