Servers-for-Hackers / the-book

Servers for Hackers eBook Issues
63 stars 5 forks source link

Flushing tables before enabling ufw page 37 #80

Closed bmcd closed 6 years ago

bmcd commented 7 years ago

You recommend flushing existing iptables rules before running sudo ufw enable if it's not a fresh install. If you were following along and also set the default policy on INPUT and FORWARD to DROP, when you enable ufw it seems to block all incoming connections. Maybe add commands for resetting those to ACCEPT to the flush commands in that section.

fideloper commented 7 years ago

Gotcha, good idea - thanks!

fideloper commented 6 years ago

Updated for next release