LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-24-2007, 04:18 PM   #1
christopher_c
Member
 
Registered: Sep 2007
Posts: 61

Rep: Reputation: 15
Webmin - Cant login from outside


I just set up Webmin and am able to login fine through links by going to http://localhost:10000 .

Now, im trying to login from my laptop from the outside and cant seem to get access. Just gives me a 'problem loading page'.

Ive looked around for an answer but have come up short >< Ive tried to see if maybe there was a port blocked or something, but i dont think I am running any firewalls or anything. Any ideas?
 
Old 10-24-2007, 05:08 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
I hope you have considered the security implications of your current setup!

1. No Firewall!
2. Exposing an app that you need to access with root credentials to the net!
3. Chances are you are transmitting your password in plaintext!

Just food for thought.

Oops sorry, i didn't answer your question. You need to tell Webmin the ip or hostname that is allowed to access it. You'll find the relevant section under: Webmin--> Webmin Configuration--> IP Access Control.

Last edited by {BBI}Nexus{BBI}; 10-24-2007 at 05:20 PM. Reason: Forgot to provide answer
 
Old 10-24-2007, 10:50 PM   #3
christopher_c
Member
 
Registered: Sep 2007
Posts: 61

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by {BBI}Nexus{BBI} View Post
I hope you have considered the security implications of your current setup!

1. No Firewall!
2. Exposing an app that you need to access with root credentials to the net!
3. Chances are you are transmitting your password in plaintext!

Just food for thought.

Oops sorry, i didn't answer your question. You need to tell Webmin the ip or hostname that is allowed to access it. You'll find the relevant section under: Webmin--> Webmin Configuration--> IP Access Control.
Thanks for the concern Nexus! I am definitely going to be looking into setting up my firewall etc.

As for the Webmin IP Config I will be testing it out tomorrow and will let you know how it goes.

Thanks
Christopher_c
 
Old 10-25-2007, 01:56 PM   #4
christopher_c
Member
 
Registered: Sep 2007
Posts: 61

Original Poster
Rep: Reputation: 15
Well I gave it a shot, but it was a no go

It seems after doing more research that outside access should be on automatically.

what do to what to do
 
Old 10-25-2007, 06:13 PM   #5
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Quote:
Originally Posted by christopher_c View Post
Well I gave it a shot, but it was a no go

It seems after doing more research that outside access should be on automatically.

what do to what to do
If that's the case then it should simply be a matter of using your external ip address (the one assigned to you by your isp) with the correct port number.
 
Old 10-25-2007, 11:30 PM   #6
christopher_c
Member
 
Registered: Sep 2007
Posts: 61

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by {BBI}Nexus{BBI} View Post
If that's the case then it should simply be a matter of using your external ip address (the one assigned to you by your isp) with the correct port number.

hmm I might have not explained myself clearly.

I have a VPS where I installed webmin and lets say for examples sake that the server ip is 111.11.111.11

when i SSH into the server, i run links and go to 111.11.111.11:10000 and i get to the login screen.

Now lets say i go to a friends house and type in the ip(111.11.111.11:10000) or the dns name with port 10000 it doesnt do anything ><
 
Old 10-25-2007, 11:47 PM   #7
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Check your /var/log/auth.log to see if any attempt to connect to webmin has been recorded.
 
Old 10-25-2007, 11:55 PM   #8
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Are you behind a NAT router? You may need to forward the port that webmin uses to your host on the LAN.

Also, here are instructions on adding ssl encryption to webmin. Using certificates for authentication and ssl encryption would be secure for the internet.
http://www.webmin.com/ssl.html

Last edited by jschiwal; 10-26-2007 at 12:00 AM.
 
Old 10-26-2007, 01:00 PM   #9
christopher_c
Member
 
Registered: Sep 2007
Posts: 61

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by {BBI}Nexus{BBI} View Post
Check your /var/log/auth.log to see if any attempt to connect to webmin has been recorded.
doing a 'find / -name 'auth.log'comes up with nothing ><

I also just went into the log directory to see if there was anything familiar but alas there was none.



Quote:
Originally Posted by jschiwal
Are you behind a NAT router? You may need to forward the port that webmin uses to your host on the LAN.
I honestly have no idea. Would I have to contact my hosting company to get them forward a port?
 
Old 10-26-2007, 02:27 PM   #10
Doug52392
Member
 
Registered: Jul 2007
Distribution: Fedora 7, Ubuntu 7.04
Posts: 34

Rep: Reputation: 15
Do you have a wireless or wired router that is connected to the Internet, or do you plug the computer right into a cable modem? If you use a router, you need to set your router to forward that port to your computer. http://portforward.com/ has guides on how to do this.
 
Old 10-31-2007, 03:33 PM   #11
christopher_c
Member
 
Registered: Sep 2007
Posts: 61

Original Poster
Rep: Reputation: 15
solution to the thread:

It seems my hosting company was blocking port 10000. asked them to see if they could unblock and voila, it worked. thanks everyone for your help.
 
  


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
webmin cant login from just 1 pc drokmed Linux - Software 1 11-24-2006 11:15 AM
Default login for webmin? Proetus Linux - Software 5 04-20-2005 09:39 PM
Can't Login into Webmin using root id? oshekliu Linux - Networking 2 02-17-2004 12:34 AM
Login to webmin d4d4n9 Mandriva 6 12-24-2003 06:56 PM
Webmin: Can't login from outside LAN... lhoff Linux - Networking 1 05-02-2003 03:29 PM

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

All times are GMT -5. The time now is 12:37 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