NAT working but not fail-safe.

When the firewall is down, packets still go out wlan0 but with untranslated source ips.
This commit is contained in:
Tom Alexander
2022-10-29 19:49:25 -04:00
parent 4e29c2e3d8
commit 2e893733a8
3 changed files with 15 additions and 3 deletions

View File

@@ -125,3 +125,12 @@
file:
path: /etc/rc.conf.d/setup_netgraph
state: absent
- name: Enable gateway
community.general.sysrc:
name: "{{ item }}"
value: "YES"
path: /etc/rc.conf.d/routing
loop:
- gateway_enable
- ipv6_gateway_enable