ansible_routing
Routing
This role let you configure simple port or port/IP redirections using firewalld masquerade
Requirements
Ansible :-), but also some collections and some roles
Role Variables
firewalld_zones:
- name: public # optional
nics: # optional, will take all the network interfaces of the machine by default
- eth0 # optional
masquerade: true
port_forward_rules:
- port_forward_rule: ssh-to-guest-ip
family: ipv4 # optional
from_port: 6752
protocol: tcp # optional
to_address: 192.168.1.10
to_port: 22
- port_forward_rule: ssh-to-ansible-host-forward
family: ipv4 # optional
from_port: 6754
protocol: tcp # optional
to_host: myhost.osgiliath.test
to_port: 22
enabled_services:
- service: ssh
enabled_ports:
- port: 6753
protocol: tcp
enabled_port_ranges:
- port_range: 6753-7000
protocol: tcp
License
Author Information
- Twitter @tcharl
- Github @tcharl
- LinkedIn Charlie Mordant
About
This role let you configure simple redirections using firewalld masquerade
Install
ansible-galaxy install OsgiliathEnterprise/ansible-routing
License
other
Downloads
5266
Owner
Osgiliath frameworks and all stuff from the Osgiliath corp!