tcharl.ansible_routing
Routing
This role allows you to set up simple port or port/IP forwarding using firewalld masquerade.
Requirements
You will need Ansible, along with some collections and some roles.
Role Variables
firewalld_zones:
- name: public # optional
nics: # optional, by default it will use all network interfaces on the machine
- 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
Informazioni sul progetto
This role let you configure simple redirections using firewalld masquerade
Installa
ansible-galaxy install tcharl.ansible_routing
Licenza
other
Download
5.3k
Proprietario
Osgiliath frameworks and all stuff from the Osgiliath corp!