This is an Ansible role for configuring an Ubuntu machine as a NAT gateway via Uncomplicated Firewall (UFW)
UFW, though the role will install it automatically.
The role uses facts to determine the main interface, then NATs to that, so there are no variables to configure.
- hosts: gateways
roles:
- ssccio.ufw-nat
MIT
Ken Trenkelbach [email protected]