From a7d53cae1bf14f6ccc55a7261f13e01eb4a701fc Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 2 Jun 2020 20:14:13 +0200 Subject: [PATCH] add script to revert to old style iptables --- debian-use-old-iptables | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 debian-use-old-iptables diff --git a/debian-use-old-iptables b/debian-use-old-iptables new file mode 100644 index 0000000..50d47c1 --- /dev/null +++ b/debian-use-old-iptables @@ -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