changing Whonix-gateway ip subnet 10.0.2.0

Hi, because I have conflict while using the default Whonix-External network configuration (I use 10.0.2.0/24 for something else), I’d like to change this subnet. It requires changing on the host side and the guest side (/etc/network/interfaces.d/30_non-qubes-whonix) … But I’ve noticed “IP HARDCODED” note.

I’ve made the change and the connection is working.

But I need to adjust the firewall and other script:

  • /usr/bin/anon-gw-leaktest
  • /usr/bin/whonix-host-firewall
  • /usr/bin/whonix-gateway-firewall
    … or overwrite that by /etc/whonix_firewall.d/50_user.conf … how?

What else? How possible/impossible is it to change the subnet?
Many thanks.

There are No Intentional User Freedom Restrictions.

Search the Source Code for:

IP HARDCODED

difficulty: advanced

1 Like