952d2f1d8e
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.
3 lines
42 B
Bash
Executable File
3 lines
42 B
Bash
Executable File
#!/bin/sh
|
|
/usr/bin/qubes_setup_dnat_to_ns
|