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