I initially installed Firestarter to set up some thing in network and watch if connections to my computer work. I used wizard, which was definitely wrong decision.

I use both cable (and occassionally share connection via wi-fi) and wi-fi often, and now system doesn't switch "Internet source" automagically: I have to manually open Firestarter and re-run wizard every time.

How do I revert standard settings? I suppose I could copy iptables rules from fresh installation, where do I find configs then?


I found it.

Apparently, firestarter is installed on Ubuntu 12.04 either by default or as a dependency or recommendation to something I normally install. It was present on two different 12.04 machines but I don't remember installing it. Also never heard about it anywhere.

Firestarter only considers one of your network connections your internet gateway, and by default that's the wifi. So it sets up your linux firewall to block all incoming connections for wifi, but not ethernet, because it considers ethernet to be your local network.

The tricky part is that ufw and gufw, which seem to have replaced firestarter as Ubuntu's recommended firewall, have their own set of iptables rules, so they don't even notice firestarter is there and can't switch it off.

To get rid of the firestarter rules temporarily, launch firestarter and click the stop button.

To get rid of firestarter and its rules permanently, do:

sudo apt-get remove firestarter

You can now either leave the firewall as it is and possible disable samba when you're on public wifi, or you can set up a couple of rules of your own with ufw or gufw. I just left if off and plan to switch on gufw by hand if I go on public wifi.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.