Ubuntu Forums Archive Viewer

From firestarter to ufw

Archived thread 1010507 from Security. Markdown source: Security/thread_1010507_From_firestarter_to_ufw.md

Original URL About this archive
#1

Hi,

I just recently transferred from firestarter to ufw. I was wondering if I took the right steps...

  1. I first purged firestarter
sudo apt-get purge firestarter
  1. I reset the rules
sudo iptables -F
sudo iptables -X
  1. I set ufw's default to deny
sudo ufw default deny
  1. I enables ufw
sudo ufw enable
  1. I also enables logging
sudo ufw logging on
  1. I check the status of ufw
sudo ufw status

It said firewall loaded

Is this all I need to do to ensure a safe firewall for both my wired ethernet and wireless? Also, where are the logs located? I'm kind of not sure because I looked at the iptables rules and there were a lot of allow's and deny's...

EDIT: I just tried GRC's Shields Up and apparently I failed because I replied back to a ping request...I'm assuming I should fix this...Anyone know how?

EDIT 2: I just learned you can look for the ufw logs in the syslog:

grep UFW /var/log/syslog
#2

Shields up scans your router.

For more info on UFW :

https://help.ubuntu.com/community/Uncomplicated_Firewall_ufw