tcharl.ansible_routing

Routing

  • Galaxy: Ansible Galaxy
  • Lint & Tests: Molecule
  • Chat: Treten Sie dem Chat bei https://gitter.im/OsgiliathEnterprise/platform

Diese Rolle ermöglicht es Ihnen, einfache Port- oder Port/IP-Weiterleitungen mit firewalld-Masquerade zu konfigurieren.

Anforderungen

Ansible :-), aber auch einige Sammlungen und einige Rollen

Variablen der Rolle

firewalld_zones:
  - name: public # optional
    nics: # optional, nimmt standardmäßig alle Netzwerkschnittstellen des Geräts
      - 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 

Lizenz

Apache-2

Autoreninformation

Über das Projekt

This role let you configure simple redirections using firewalld masquerade

Installieren
ansible-galaxy install tcharl.ansible_routing
GitHub Repository
Lizenz
other
Downloads
5.3k
Besitzer
Osgiliath frameworks and all stuff from the Osgiliath corp!