Skip to content

Commit

Permalink
Fix a problem where VLAN DHCP WAN wasn't working.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomodachi committed Sep 8, 2024
1 parent f855212 commit c8a4aac
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 c8a4aac

Please sign in to comment.