Fix nft down scripts
This commit is contained in:
parent
977e1dca9a
commit
4f787c92e4
@ -1,6 +1,7 @@
|
|||||||
#!/usr/sbin/nft -f
|
#!/usr/sbin/nft -f
|
||||||
|
|
||||||
table inet main_inet
|
table inet main_inet
|
||||||
|
flush table inet main_inet
|
||||||
delete table inet main_inet
|
delete table inet main_inet
|
||||||
|
|
||||||
table inet main_inet {
|
table inet main_inet {
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
|
table ip6 ${IFACE}_ipv6
|
||||||
flush table ip6 ${IFACE}_ipv6
|
flush table ip6 ${IFACE}_ipv6
|
||||||
delete table ip6 ${IFACE}_ipv6
|
delete table ip6 ${IFACE}_ipv6
|
||||||
|
|
||||||
|
table ip ${IFACE}_ipv4
|
||||||
flush table ip ${IFACE}_ipv4
|
flush table ip ${IFACE}_ipv4
|
||||||
delete table ip ${IFACE}_ipv4
|
delete table ip ${IFACE}_ipv4
|
||||||
|
|
||||||
|
table inet ${IFACE}_inet
|
||||||
flush table inet ${IFACE}_inet
|
flush table inet ${IFACE}_inet
|
||||||
delete table inet ${IFACE}_inet
|
delete table inet ${IFACE}_inet
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/env -S nft -f
|
#!/usr/bin/env -S nft -f
|
||||||
|
|
||||||
|
table inet ${IFACE}_inet
|
||||||
flush table inet ${IFACE}_inet
|
flush table inet ${IFACE}_inet
|
||||||
delete table inet ${IFACE}_inet
|
delete table inet ${IFACE}_inet
|
||||||
|
Loading…
Reference in New Issue
Block a user