No access to webmin on Oracle Free Tier VM

OS: VM - Ubuntu 22.04 on Oracle Free Tier
Webmin version 2.200

I installed webmin on a VM running Ubuntu 22.04 with an Oracle Free Tier account.
To manage incoming calls to the VM there is a configuration panel called “Security List” where you can open incoming ports.
I have therefore opened port 10000 for webmin.
I have already done something similar for Portainer and had no problems.
Even so, I cannot access webmin.
Is it possible that there is something to configure directly in Ubuntu?
I have often intalled webmin, but to get it working I have never had to configure anything manually.
I hope someone can help me.

Assuming you used the Oracle images, then the Ubuntu image also has it’s own set of firewall rules you’d need to amend. I don’t remember however if it uses ufw as an overlay or iptables directly, but check in /etc/iptables for the rules that are loaded on boot.

Thank you for answer.
I confirm that I used the image provided by Oracle to create the VM.
I confess that I have no experience with iptables.
In doing a web search to figure out how to enter the correct rule for webmin, I got stuck because I understand that nftables is used by default and I didn’t quite understand how to configure it correctly for webmin.
Could someone please help me out?

I currently traveling so don’t have access to spin up another test VM, but if you’re already using the Oracle Cloud firewall you can just delete the .rules files in /etc/iptables and reboot, and it should come up clean.
No need for double firewalls…

See if this helps
https://webmin.com/firewall.html

Thank you for answers.

I don’t know if it’s safe to delete the rules files. This comment in the file makes me think that the dashboard-managed firewall interacts with the VM settings:

See the Oracle-Provided Images section in the Oracle Cloud Infrastructure
documentation for security impact of modifying or removing these rule

Seen the help page, but I don’t know how to exactly add the new firewall rules.
In my Ubuntu VM nftables is used and I don’t know where and how to add the right rule…

I wouldn’t worry about this.
First thing I do when spinnig up a new VM is to delete those files and simply manage Oracle’s firewall instead.
If I need even finer control then I simply use UFW (never managed to figure out iptables/nftables directly).

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.