ansible-debops-infrastructure

DebOps and Ansible scripts to manage my infrastructure
git clone git://git.erethon.com/ansible-debops-infrastructure
Log | Files | Refs

commit 8e4330637e62f05c1de578b63e9e4f788392e008
parent fe7d44ebde82475b1fe5f6a228d66eeeefdcaaeb
Author: Dionysis Grigoropoulos <dgrig@erethon.com>
Date:   Tue, 22 Jan 2019 23:26:52 +0200

spinny: Forward traffic and perform NAT for devnet

Diffstat:
ansible/inventory/host_vars/spinny/ferm.yml | 20++++++++++++++++++++
1 file changed, 20 insertions(+), 0 deletions(-)

diff --git a/ansible/inventory/host_vars/spinny/ferm.yml b/ansible/inventory/host_vars/spinny/ferm.yml @@ -30,6 +30,16 @@ ferm__host_rules: comment: 'Forward traffic from OpenVPN to VMs' - type: 'accept' + filename: 'devnet' + name: 'devnet' + table: 'filter' + chain: 'FORWARD' + domain: 'ip' + interface_present: 'tun0' + outerface_present: 'virbr1' + comment: 'Forward traffic from OpenVPN to devnet VMs' + + - type: 'accept' filename: 'vmnet_public' name: 'vmnet_public' table: 'filter' @@ -39,6 +49,16 @@ ferm__host_rules: saddr: '192.168.122.0/24' comment: 'Forward traffic from VMs to the internet' + - type: 'accept' + filename: 'devnet_public' + name: 'devnet_public' + table: 'filter' + chain: 'FORWARD' + domain: 'ip' + interface_present: 'virbr1' + saddr: '192.168.199.0/24' + comment: 'Forward traffic from devnet VMs to the internet' + - type: 'custom' filename: 'vmnet_nat' name: 'vmnet_nat'