io.github.justinrdonnelly.bouncer

Keep the riffraff out
 
  0
  no reviews



Bouncer is an application to help you choose the correct firewall zone for wireless connections. When you connect to a new network, a window opens prompting you for what kind of network (eg home, public, work) it is. When you choose the network type, it is associated with that network and automatically used in the future.

NetworkManager and firewalld are required. If you don't use those, you can't use Bouncer. Fedora uses both by default. Other distributions may not.

Additional setup is required after installation. See the applicable section for your distribution. Once the setup is done, start Bouncer and confirm your system is configured correctly. Then click the Monitor button to begin using Bouncer. After that, it will start automatically when you log in.

Fedora

  1. For Fedora, everything just works! Just start Bouncer to confirm, and click the Monitor button to begin using Bouncer.

Ubuntu

  1. Uninstall ufw: <code>sudo apt remove ufw</code>
  2. Install firewalld: <code>sudo apt install firewalld</code>
  3. By default, polkit is configured to not let regular users set the zone for a connection. The simplest way to change this is to add users to the <code>netdev</code> group (eg <code>usermod -a -G netdev justin</code>). Alternatively, you can create a custom polkit rule for the <code>org.freedesktop.NetworkManager.settings.modify.system</code> action (how to create custom polkit rules is beyond the scope of this document and is left as an exercise for the reader).
  4. Start Bouncer and confirm your system is configured correctly. Then click the Monitor button to begin using Bouncer.

Debian

  1. Install firewalld: <code>sudo apt install firewalld</code>
  2. By default, polkit is configured to not let regular users set the zone for a connection. The simplest way to change this is to add users to the <code>netdev</code> group (eg <code>usermod -a -G netdev justin</code>). Alternatively, you can create a custom polkit rule for the <code>org.freedesktop.NetworkManager.settings.modify.system</code> action (how to create custom polkit rules is beyond the scope of this document and is left as an exercise for the reader).
  3. Start Bouncer and confirm your system is configured correctly. Then click the Monitor button to begin using Bouncer.