No, it is not like Docker. You can treat an LXC container pretty much like a VM in most instances, including firewall rules.
To answer the question, you can use fail2ban just like you had done in your VM.
=> More informations about this toot | View the thread | More toots from 486@lemmy.world
=> View Dran_Arcana@lemmy.world profile
text/gemini
This content has been proxied by September (ba2dc).