add script to revert to old style iptables
This commit is contained in:
parent
e23de2ca3b
commit
a7d53cae1b
1 changed files with 9 additions and 0 deletions
9
debian-use-old-iptables
Normal file
9
debian-use-old-iptables
Normal file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
# reverting for a running system that still needs access to old style
|
||||
# rules
|
||||
|
||||
update-alternatives --set iptables /usr/sbin/iptables-legacy
|
||||
update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
|
||||
update-alternatives --set arptables /usr/sbin/arptables-legacy
|
||||
update-alternatives --set ebtables /usr/sbin/ebtables-legacy
|
Loading…
Reference in a new issue