and no iptables doesn't work.
Code: Select all
iptables: Operation not supported.
Code: Select all
iptables: Operation not supported.
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
Code: Select all
echo 1 > /proc/sys/net/ipv4/ip_forward