add script to revert to old style iptables

This commit is contained in:
Nico Schottelius 2020-06-02 20:14:13 +02:00
parent e23de2ca3b
commit a7d53cae1b

9
debian-use-old-iptables Normal file
View 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