tcharl.ansible_routing
ルーティング
このロールを使うと、firewalldのマスカレードを利用して、シンプルなポートやポート/IPのリダイレクションを構成できます。
要件
Ansible :-)、およびいくつかのコレクションといくつかのロール
ロールの変数
firewalld_zones:
- name: public # オプション
nics: # オプション、デフォルトではマシンの全ネットワークインターフェースを使用
- eth0 # オプション
masquerade: true
port_forward_rules:
- port_forward_rule: ssh-to-guest-ip
family: ipv4 # オプション
from_port: 6752
protocol: tcp # オプション
to_address: 192.168.1.10
to_port: 22
- port_forward_rule: ssh-to-ansible-host-forward
family: ipv4 # オプション
from_port: 6754
protocol: tcp # オプション
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
ライセンス
著者情報
- Twitter @tcharl
- Github @tcharl
- LinkedIn Charlie Mordant
プロジェクトについて
This role let you configure simple redirections using firewalld masquerade
インストール
ansible-galaxy install tcharl.ansible_routing
ライセンス
other
ダウンロード
5.3k
所有者
Osgiliath frameworks and all stuff from the Osgiliath corp!