Page 1 of 1
iptables: Operation not supported.
Posted: Fri Sep 30, 2022 9:30 am
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 ?
Re: iptables: Operation not supported.
Posted: Fri Sep 30, 2022 12:25 pm
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