At times your Webmin server might be behind a firewall and not accessible via port 10000.
If you have SSH access to the server in question, you can use a technique called SSH tunnel to expose the remote port locally.
The command to do this is:
ssh -p22 [email protected] -L 10005:127.0.0.1:10000 -N &
In the above example, 10005 will become the local port, and 10000 is the remote port. After running this command, webmin will be accessible like so:
& is optional and starts the process in the background so that you can keep on using the specific terminal.
If you’ve gone the
& route, then use these command to gain control of the background process:
jobs fg 1 ctrl + c