Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Network Configuration for Whonix-Gateway

Includes etc/network/interfaces.d/30_non-qubes-whonix for Non-Qubes-Whonix-Gateway.

Sets up two network interfaces, an external one eth0 and an internal one eth1.

Provides /usr/share/whonix-gw-network-conf/network_internal_ip.txt.

DNS configuration Anonymity Linux Distribution Gateways

  • Pointing /etc/resolv.conf to
  • Whether a Anonymity Linux Distribution Gateway supports system DNS for its own traffic in the clear or anonymized mainly depends on the Gateway's firewall.
  • Routing the workstation's system DNS through the anonymizer (also known as Transparent DNS Proxy) or not is up to the Gateway's firewall as well.

How to install whonix-gw-network-conf using apt-get

1. Download the APT Signing Key.


Users can check the Signing Key for better security.

2. Add the APT Signing Key..

sudo cp ~/derivative.asc /usr/share/keyrings/derivative.asc

3. Add the derivative repository.

echo "deb [signed-by=/usr/share/keyrings/derivative.asc] bullseye main contrib non-free" | sudo tee /etc/apt/sources.list.d/derivative.list

4. Update your package lists.

sudo apt-get update

5. Install whonix-gw-network-conf.

sudo apt-get install whonix-gw-network-conf

How to Build deb Package from Source Code

Can be build using standard Debian package build tools such as:

dpkg-buildpackage -b

See instructions.

NOTE: Replace generic-package with the actual name of this package whonix-gw-network-conf.



whonix-gw-network-conf requires donations to stay alive!