pi-ap icon indicating copy to clipboard operation
pi-ap copied to clipboard

ufw deactivated after install

Open clydebarrow opened this issue 3 years ago • 0 comments

Describe bug After running install.sh ufw is deactivated, and previously added custom rules have been cleared.

Did AP EVER work correctly before fault?

  • no

Bug CONSISTENTLY reproducible?

  • yes

If "yes", provide detailed steps to reproduce bug:

sudo ufw enable
sudo ./install.sh

Additional context

The very first TROUBLESHOOTING item is to check ufw, so it wasn't hard to fix, but it seems odd that enabling ufw should not be part of the install script.

And yes, ufw was active before running the script, and I had added some custom rules that got deleted. It seems like it reset ufw to an initial inactive state.

Otherwise the process was seamless.

Proposed Fixes

The install script should enable ufw, and preserve existing rules.

clydebarrow avatar Mar 20 '22 03:03 clydebarrow