tripleo-image-elements/elements/boot-stack/os-refresh-config/pre-configure.d/97-fedora-iptables

8 lines
208 B
Bash
Executable File

#!/bin/bash
set -eu
# Forward packets to the private ctlplane network
add-rule FORWARD -d 192.0.2.0/24 -j ACCEPT
# Forward packets to the hosts libvirt network
add-rule FORWARD -d 192.168.122.0/24 -j ACCEPT