No IP-Address in host after copying image

could you kindly give some cmd exemples how to do that?
(Cause in the debian link you posted, I don’t understand what they are talking about ebtables.
…and regarding this header there

Should I mix nftables and iptables/ebtables/arptables rulesets?

No, unless you know what you are doing.

I’m helpless :wink:

Switching to the legacy version:

# 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

Ok, first info: clearing ruleset didn’t help.

I get still :

firewall: nftables

while running cmd: lxc info

So , I will purge nftables again from my system and aftwards do this cmd:

update-alternatives --set ebtables /usr/sbin/ebtables-legacy

right?

I would suggest you run all of those suggested commands so you’re not using nftables shims for any of those commands and have a pure xtables system.

You may need to reboot too so that the nft rules from ufw (via the iptables shim) are removed and ufw applies its rules using the iptables legacy commands.

The root cause of all of this confusion is that the iptables/ebtables “compatibility” layers for nftables don’t provide a 100% compatible experience compared to the original commands.

HOORAY!!!

Finally it works!! What a long story.
Sorry, for any misleading items from my side. But to be honest: I didn’t thought that you must be a specialist in linux firewalls here. (imo there too much fw diversity here, alike all the different distros out there, alike all the different package manager, and so on…)

In the end I will thank you and Stephane very much for all your patient and kindly help.
That’s really something exemplary in this world of linux :wink:

Have a good time!!

1 Like