iptables: Operation not supported.

Post Reply
mister_v
Posts: 139
Joined: Sat Jun 20, 2009 5:42 pm

iptables: Operation not supported.

Post by mister_v »

I upgraded my debian version to buster
and no iptables doesn't work.

Code: Select all

iptables: Operation not supported.
Anyone know how to fix this ?
Chris
Site Admin
Posts: 129
Joined: Mon Jul 21, 2008 9:45 am
Location: Leuven, Belgium
Contact:

Re: iptables: Operation not supported.

Post by Chris »

with the update iptables is "deconfigured"
The following command allows you to select an alternative

Code: Select all

sudo update-alternatives --config iptables

Code: Select all

[root@localhost ~]# update-alternatives --config iptables
There are 2 choices for the alternative iptables (providing /usr/sbin/iptables).

  Selection    Path                       Priority   Status
------------------------------------------------------------
* 0            /usr/sbin/iptables-nft      20        auto mode
  1            /usr/sbin/iptables-legacy   10        manual mode
  2            /usr/sbin/iptables-nft      20        manual mode

Press <enter> to keep the current choice[*], or type selection number: 1
update-alternatives: using /usr/sbin/iptables-legacy to provide /usr/sbin/iptables (iptables) in manual mode

note: if you forwarded ports, you need to set it up again.

Code: Select all

echo 1 > /proc/sys/net/ipv4/ip_forward
Post Reply