tcharl.ansible_routing
Routing
Ten rol pozwala na skonfigurowanie prostych przekierowań portów lub portów/IP przy użyciu firewalld masquerade.
Wymagania
Ansible :-), a także kilka kolekcji oraz kilka ról.
Zmienne roli
firewalld_zones:
- name: public # opcjonalne
nics: # opcjonalne, domyślnie weźmie wszystkie interfejsy sieciowe maszyny
- eth0 # opcjonalne
masquerade: true
port_forward_rules:
- port_forward_rule: ssh-to-guest-ip
family: ipv4 # opcjonalne
from_port: 6752
protocol: tcp # opcjonalne
to_address: 192.168.1.10
to_port: 22
- port_forward_rule: ssh-to-ansible-host-forward
family: ipv4 # opcjonalne
from_port: 6754
protocol: tcp # opcjonalne
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
Licencja
Informacje o autorze
- Twitter @tcharl
- Github @tcharl
- LinkedIn Charlie Mordant
O projekcie
This role let you configure simple redirections using firewalld masquerade
Zainstaluj
ansible-galaxy install tcharl.ansible_routing
Licencja
other
Pobrania
5.3k
Właściciel
Osgiliath frameworks and all stuff from the Osgiliath corp!