Need a little help getting Webmin to work

It's been a while since I've tried to administer this node and I might have forgotten some detail or something might have changed. I looked over everything I can find and cannot solve this. Maybe you can give me a small hand?

I expect that when I go to 173.255.234.98:10000 I enter the webnin console for further administration. Instead I get "Error - Access denied for 24.61.81.241". My machine is indeed at that IP, and I am accessing it through Mac OSX / Safari.

I checked (and played around with) /etc/webmin/minserv.conf to verify that the allow IP address is my IP address and that the port is correct. I also restarted webmin with /etc/init.d/webmin restart. I verified that webmin is running with ps ax | grep webmin which indicates that it is running and apparently has started on that .conf file.

The conf file is below. Can you help me trouble shoot the problem? Thanks,

Pito

–-----

port=10000
addtype_cgi=internal/cgi
realm=Webmin Server
logfile=/var/webmin/miniserv.log
errorlog=/var/webmin/miniserv.error
pidfile=/var/webmin/miniserv.pid
logtime=168
ppath=
allow=24.61.81.241
ssl=0
env_WEBMIN_CONFIG=/etc/webmin
env_WEBMIN_VAR=/var/webmin
atboot=1
logout=/etc/webmin/logout-flag
listen=10000
denyfile=\.pl$
log=1
blockhost_failures=5
blockhost_time=60
syslog=1
session=1
premodules=WebminCore
userfile=/etc/webmin/miniserv.users
keyfile=/etc/webmin/miniserv.pem
passwd_file=/etc/shadow
passwd_uindex=0
passwd_pindex=1
passwd_cindex=2
passwd_mindex=4
passwd_mode=0
preroot=blue-theme
passdelay=1
libwrap=
alwaysresolve=0
allow=24.61.84.158
logouttimes=
root=/usr/libexec/webmin
mimetypes=/usr/libexec/webmin/mime.types
server=MiniServ/1.580

4 Replies

You have TWO "allow=xx.xx.xx.xx" in your config file.

It's been a while since I tested webmin but I think it only lets you access port 10000 while using https. I also remember doing something on webmin on port 20000.

When I try your IP using https I get 'Error code: ERRSSLPROTOCOL_ERROR'.

@Main Street James:

It's been a while since I tested webmin but I think it only lets you access port 10000 while using https. I also remember doing something on webmin on port 20000.

When I try your IP using https I get 'Error code: ERRSSLPROTOCOL_ERROR'.

It does that because it's not running in SSL mode, he has 'ssl=0' in his Webmin configuration.

EDIT: I should probably mention this, but vonskippy is correct, you need only one 'allow=' line if you're only wanting your IP in. Also try seeing if accessing Webmin with http:// instead of https:// works, after you make that change.

THANKS! Indeed I had two allow= and the second one overwrites the first!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct