nftables fixes
This commit is contained in:
parent
d187a12565
commit
7052c91d27
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env -S nft -f
|
||||
|
||||
flush table ip br0_inet
|
||||
delete table ip br0_inet
|
||||
flush table inet br0_inet
|
||||
delete table inet br0_inet
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env -S nft -f
|
||||
|
||||
flush table inet wg0_ipv4
|
||||
delete table inet wg0_ipv4
|
||||
flush table ip wg0_ipv4
|
||||
delete table ip wg0_ipv4
|
||||
|
@ -23,9 +23,9 @@
|
||||
when:
|
||||
nftables_conf is changed
|
||||
|
||||
- name: Restart networking
|
||||
systemd:
|
||||
name: networking
|
||||
state: restarted
|
||||
- name: Reload nft scripts for interfaces
|
||||
command: "{{ item }}"
|
||||
with_fileglob:
|
||||
- "/usr/local/sbin/post-up-*.nft"
|
||||
when:
|
||||
nftables_restart is changed
|
||||
|
Loading…
Reference in New Issue
Block a user