Vodka + Seledka EN
July 28

Firewall Configuration

Purpose

The Firewall controls internet access for devices connected to the Raspberry Pi.

For each supported protocol, you can independently enable a rule that allows connected devices to access the internet only when traffic passes through the corresponding tunnel.

This helps prevent IP address leaks in the event of failures of VPN, Proxy, VODKA, or other protocols.

An automatic Kill Switch is also available for connection chains. For example, if a Proxy is running through OpenVPN and the OpenVPN connection is lost, the Proxy will not switch to the Raspberry Pi’s direct internet connection. Internet access will be blocked, preventing your real IP address from being exposed.

In addition to Firewall settings, this section also allows you to:

  • enable or disable the VODKA interface;
  • enable or disable VODKA Auto Start.

Firewall Examples

1. Firewall enabled on all active protocols

Direct internet access through the Raspberry Pi’s public IP address will be blocked.

If any higher-level protocol fails, the connected device will automatically continue using the next available protocol in the chain.

The Raspberry Pi’s real public IP address will never be exposed to connected devices.

Example: the following chain is being used:

VODKA → WireGuard → Proxy

  • If the Proxy stops working, connected devices will automatically start using the WireGuard IP address.
  • If WireGuard then stops working, connected devices will automatically start using the VODKA IP address.
  • If VODKA stops working, internet access will be blocked.

2. Firewall enabled on only one protocol

For example, the following chain is used:

VODKA → Proxy → Device

The Firewall is enabled only for Proxy.

In this case:

  • connected devices will be able to access the internet only through the Proxy;
  • if VODKA stops working, the Kill Switch will activate;
  • the Proxy cannot continue working without the lower-level protocol, so internet access will be blocked.

The same principle applies to WireGuard, OpenVPN, and PPTP.

3. All Firewalls disabled

Not recommended.

If one of the protocols fails, the device may automatically switch to the next lower-level protocol in the chain or, if none is available, connect directly through the Raspberry Pi’s internet provider.

This may expose your real public IP address.

⭐ FIREWALL DEEP CLEAN

The FIREWALL DEEP CLEAN button completely removes all Firewall rules.

Use it after changing the network configuration (for example, when changing the internet sharing method), if the Firewall starts behaving incorrectly, or after making a large number of configuration changes.

After the cleanup, all Firewall rules will be reset, so they must be enabled again.