Keep the riffraff out!
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 manually to enable autostart. After that, it will start automatically when you log in.
Fedora
- For Fedora, everything just works! Just remember to start Bouncer manually once to enable autostart. You won't see anything happen unless you are currently connected to Wi-Fi.
Ubuntu
- Uninstall ufw:
sudo apt remove ufw
- Install firewalld:
sudo apt install firewalld
- 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
netdev
group (egusermod -a -G netdev justin
). Alternatively, you can create a custom polkit rule for theorg.freedesktop.NetworkManager.settings.modify.system
action (how to create custom polkit rules is beyond the scope of this document and is left as an exercise for the reader). - Start Bouncer manually once to enable autostart. You won't see anything happen unless you are currently connected to Wi-Fi.
Debian
- Install firewalld:
sudo apt install firewalld
- 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
netdev
group (egusermod -a -G netdev justin
). Alternatively, you can create a custom polkit rule for theorg.freedesktop.NetworkManager.settings.modify.system
action (how to create custom polkit rules is beyond the scope of this document and is left as an exercise for the reader). - Start Bouncer manually once to enable autostart. You won't see anything happen unless you are currently connected to Wi-Fi.
Changes in version 48.1.0
Include a notification for first run success