tcharl.ansible_routing
Enrutamiento
Este rol te permite configurar redirecciones simples de puertos o de puerto/IP usando firewalld masquerade.
Requisitos
Ansible :-), pero también algunas colecciones y algunos roles.
Variables del Rol
firewalld_zones:
- name: public # opcional
nics: # opcional, tomará todas las interfaces de red de la máquina por defecto
- eth0 # opcional
masquerade: true
port_forward_rules:
- port_forward_rule: ssh-to-guest-ip
family: ipv4 # opcional
from_port: 6752
protocol: tcp # opcional
to_address: 192.168.1.10
to_port: 22
- port_forward_rule: ssh-to-ansible-host-forward
family: ipv4 # opcional
from_port: 6754
protocol: tcp # opcional
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
Licencia
Información del Autor
- Twitter @tcharl
- Github @tcharl
- LinkedIn Charlie Mordant
Acerca del proyecto
This role let you configure simple redirections using firewalld masquerade
Instalar
ansible-galaxy install tcharl.ansible_routing
Licencia
other
Descargas
5.3k
Propietario
Osgiliath frameworks and all stuff from the Osgiliath corp!