-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hi,
I've modified /usr/lib/qubes/setup-ip to allow users to opt-out of
default routing and prevent setting the DNS servers (/etc/resolv.conf) -
giving users more flexibility to configure their VM's networking [1].
Patch is against v2.1.51
I've tested it on the following VM types (using the default and
minimal fedora templates):
- - TemplateVM
- - AppVM
- - DispVM
- - ProxyVM (with and without qubes-firewall/qubes-network enabled)
Description from the man page:
set-default-route
Default: enabled
Sets the default route for networking. Disabling this service
will prevent the creation of the default route, but the VM will
still be able to reach it's direct neighbors. The functionality
is implemented in /usr/lib/qubes/setup-ip.
set-dns-server
Default: enabled
Creates the appropriate nameserver entries in /etc/resolv.conf.
Disabling this service will result in an empty /etc/resolv.conf.
The functionality is implemented in /usr/lib/qubes/setup-ip.
If this change is acceptable to you I would be happy to test rpms via
the testing repo before they get to current (if something goes wrong
here users could potentially loose network connectivity).
regards,
Joonas
[1]
https://groups.google.com/d/msg/qubes-users/4OnYA0Jog08/ncnn8KEh6mIJ
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCgAGBQJUw5ZVAAoJENGIB/ssoMC2dRsQALNiD2UI0lZ0snePnOSFTlvE
mVjt6Hg2soeGVWfMKm4GArlcfRY+S8DiJna8Wwg3PHSPGmqg3y0M/LuAlFuLh4Hr
vW1h5D20Ebn1q4lrsL1EonjqTNaf2HhNU98u173PdcvXNq0HcumBYd29UOHfSwWh
Zrq3iBha/YqKxgEmSLKqR3tkEtH24z0bZGFFNPGXtYFfekD2k1nbfZ7ZpXsAAcn3
XZfX3H36IvGQhjT5+c5o6tvE6d1qR8RWanU5WqZGMTJRHrxaEhOZEpCIf9ktwVuD
EQ9UIfuk7XCR8B0VxAaqP++h8flczu03551tGnadbIvri//V0NdnsVkFJ/LbPscw
ZGcCDDZkb4fhJLB6g8/MpiSJE19XHNsGozDKf/TvQNp2YxgTlnEidjPkohykgX1q
qFl3IYbJ+ZbME0YylJPw6/olvAGln3v+uNTZHcCX+AOjuwt06vfhnbrDq5C7bBq9
g+/n1lMjAKUT/uNmEbqagAW9GR0k0sxXhNkGfRWdHOYtfr0sjInj91IQdiJEqhhx
2w7DiiL39G9I+/nC3zp5Idj/oasQpV7JNz1rofUx/ApIPhvNIKoUq+C+V/BwFOyT
ItQFbiFeC1RLRaS8/OGqNQlyd+5Mg71/D5lL041tnJJU6YRcZwOk4NLDzqPGMmkt
oVCw1+DQnCzu4ldgvliV
=Y3br
-----END PGP SIGNATURE-----