Skip to content

Commit

Permalink
Merge pull request #39 from tomodachi/fw_role_fix
Browse files Browse the repository at this point in the history
Fix a problem where VLAN DHCP WAN wasn't working.
  • Loading branch information
tomodachi authored Sep 8, 2024
2 parents f855212 + c8a4aac commit 0fea8ac
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion roles/single-nic-firewall/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@
state: started
enabled: true

- name: Enable DHCP on VLAN NIC
ansible.builtin.copy:
src: vlan
dest: /etc/network/interfaces.d/
mode: '0644'

- name: Template dnsmasq config
ansible.builtin.template:
src: dnsmasq.conf.j2
Expand All @@ -50,7 +56,7 @@

- name: Template nftables FW rules
ansible.builtin.template:
src: nftables.conf.j2
src: nftables.conf.j2.myown
dest: /etc/nftables.conf
owner: root
group: root
Expand Down

0 comments on commit 0fea8ac

Please sign in to comment.