Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Nov 04, 2013 8:46 pm 
Offline
Senior Newbie

Joined: Fri Jan 14, 2011 10:26 am
Posts: 10
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
-------

Code:
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


Top
   
PostPosted: Mon Nov 04, 2013 9:17 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
You have TWO "allow=xx.xx.xx.xx" in your config file.

_________________
Either provide enough details for people to help, or sit back and listen to the crickets chirp.
Security thru obscurity is a myth - and really really annoying.


Top
   
PostPosted: Mon Nov 04, 2013 9:20 pm 
Offline
Senior Member

Joined: Mon Jan 02, 2012 12:45 pm
Posts: 365
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: ERR_SSL_PROTOCOL_ERROR'.


Top
   
PostPosted: Mon Nov 04, 2013 9:30 pm 
Offline
Senior Newbie

Joined: Tue May 14, 2013 5:51 pm
Posts: 8
Main Street James wrote:
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: ERR_SSL_PROTOCOL_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.


Top
   
PostPosted: Wed Nov 06, 2013 11:40 am 
Offline
Senior Newbie

Joined: Fri Jan 14, 2011 10:26 am
Posts: 10
THANKS! Indeed I had two allow= and the second one overwrites the first!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group