instack-undercloud/elements/dnsmasq-forwarder/os-refresh-config/post-configure.d/10-dnsmasq-forwarder
2015-01-15 13:59:43 -05:00

11 lines
185 B
Bash
Executable File

#!/bin/bash
set -eux
set -o pipefail
systemctl enable dnsmasq-forwarder
systemctl start dnsmasq-forwarder
iptables -I INPUT -p udp --dport 53 -j ACCEPT
iptables -I FORWARD -j ACCEPT