ungleich-tools/debian-use-old-iptables
Nico Schottelius 6a3750a6cf + correct mode
2020-06-02 22:44:57 +02:00

9 lines
339 B
Bash
Executable file

#!/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