LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-27-2003, 11:41 PM   #1
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 964

Rep: Reputation: 32
access to webmin via xp


hi
my OS is fedora core 1
I've install webmin ok

i'm trying to give my self access from a XP browser.

setup adsl-hub-server to hub, xp to hub

I read this from webmin pages

How can I change Webmin's list of allowed IP addresses from the shell?
The file you need to modify is /etc/webmin/miniserv.conf , in particular the allow= or deny= lines. If the allow= line exists, it contains a list of all addresses and networks that are allowed to connect to Webmin. Similarly, the deny= line contains addresses that are not allowed to connect. After modifying this file, you need to run /etc/webmin/stop ; /etc/webmin/start for the changes to take effect. Naturally, the file can only be edited by the root user.


I've edit the file it says by adding allow=10.x.x.x

i restarted webmin and i cant contect to it.

here is what i have done
[root@www downloads]# ls
webmin-1.121-1.noarch.rpm
[root@www downloads]# rpm -Uvh webmin-1.121-1.noarch.rpm
warning: webmin-1.121-1.noarch.rpm: V3 DSA signature: NOKEY, key ID 11f63c51
Preparing... ########################################### [100%]
Operating system is Redhat Linux Fedora 1
1:webmin ########################################### [100%]
Webmin install complete. You can now login to http://www.myserver.com:10000/
as root with your root password.

[root@www root]# cd /etc
[root@www etc]# cd webmin/
[root@www webmin]# vi miniserv.conf

blockhost_failures=5
blockhost_time=60
syslog=1
session=1
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=mscstyle3
allow=10.1.1.4


[root@www webmin]# /etc/webmin/stop
Stopping Webmin server in /usr/libexec/webmin
[root@www webmin]# /etc/webmin/start
Starting Webmin server in /usr/libexec/webmin
[root@www webmin]#

I am at a lost why it wont let me see webmin, but it show my fedora core test page..



tommytomato
 
Old 11-27-2003, 11:44 PM   #2
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
you do connect to http://<yourip>:10000 right?
 
Old 11-27-2003, 11:55 PM   #3
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 964

Original Poster
Rep: Reputation: 32
Quote:
you do connect to http://<yourip>:10000 right?

just wondering if i have to let my eth0 though

No i dont, i use my IP of the server

because i cant view my URL address via XP box, webserver is on another box next to me.127.x.x.x

I've only been able to view my URL address via http://10.x.x.x

if i view my URL on the linux box when i had the GUI side, i was only able to view it if i added my eth0 IP and my hostname to the hostaddress using webmin.

that make sence ?

tommytomato
 
Old 11-28-2003, 07:30 AM   #4
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
I'm just checking if you connect to http://10.x.x.x:10000
the :10000 is very important as that's the port webmin runs on.
 
Old 11-28-2003, 05:30 PM   #5
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 964

Original Poster
Rep: Reputation: 32
No i cant contect via http://10.x.x.x:10000

trying to contect to liinux box via my XP box browser.


tommytomato
 
Old 11-28-2004, 01:54 AM   #6
enkidu
LQ Newbie
 
Registered: Aug 2001
Location: Wellington, New Zealand
Posts: 2

Rep: Reputation: 0
Are you running squid? What message do you get? Is it "can't find server" or is it "access denied"?

Cheers,

Cliff
 
Old 11-28-2004, 01:58 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
In the simplest of things, can you ping the private IP assigned to the box from XP?

Cool
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can not access the Webmin on Linux bal Linux - Networking 4 01-20-2008 11:20 PM
Webmin Restricted Access newinlinux Debian 4 11-28-2005 09:47 PM
webmin - access denied bobbens Linux - Software 6 01-16-2005 09:42 AM
Access to webmin tommytomato Linux - General 2 01-04-2004 09:59 PM
How to access Webmin?? wiggywag Linux - Software 4 10-21-2003 04:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration