core-agent-linux/netvm/qubes_nmhook
Rafal Wojtczuk 952d2f1d8e Get rid of dnsmasq in netvm.
qubes_setup_dnat_to_ns script sets up DNAT rules for DNS traffic; it is
triggered by dhclient or NetworkManager, and manually (in case there is
a static resolv.conf).

Put IP-dependent rules in qubes-core, after local ip is known. It could be
further improved by introducing custom chains, to enable iptables save.

Restrict FORWARD.
2010-05-30 15:45:35 +02:00

3 lines
42 B
Bash
Executable File

#!/bin/sh
/usr/bin/qubes_setup_dnat_to_ns