Hello,
I have the following configuration: A->B->C->D
A) AppVM (from Whonix-Workstation-17 template)
B) sys-whonix
C) sys-firewall
D) sys-net
My problem is that the IP of A (10.137.0.x) changes often, e.g., when I install whonix updates and reboot the A and B.
This is a problem because in B I have a line in /usr/local/etc/torrc.d/50_user.conf/
of the form
HiddenServiceDir path
HiddenServicePort 80 ip_of_A 80
HiddenServiceVersion 3
and, of course, the .onion service stops working after the IP ip_of_A
of A changes.
QUESTION 1: is it possible to have a fixed/static IP address for A?
QUESTION 2: Question 1 can be extended to the more general case where A is not necessarily coming from the Whonix-Workstation template, that is, where A is an arbitrary VM.
I have found this related discussion:
- Issue in GitHub, but it was closed long ago. I don’t understand, from the discussion, what is the suggested solution: optional static IP addresses · Issue #1477 · QubesOS/qubes-issues · GitHub
- Introduction to Qubes networking: Qubes OS Networking .
I understand that the proxyVM (in this case, sys-whonix (B) and sys-firewall (C)) are acting as routers. But it is not clear to me who is in charge of assigning IP’s to VM’s. I suspect it is `sys-firewall?) But why sys-whonix does not assigns IP’s to its own VM’s? I am a bit confused - A general suggestion received in matrix, to look for “Salt configuration files”, with examples: GitHub - xn0px90/awesome-qubes-os: A curated list of awesome qubes os links
However I have a difficult time navigating this much material.
Can somebody help me move in the right direction? Thank you!