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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-24-2007, 04:18 PM
|
#1
|
Member
Registered: Sep 2007
Posts: 61
Rep:
|
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?
|
|
|
10-24-2007, 05:08 PM
|
#2
|
Senior Member
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313
|
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
|
|
|
10-24-2007, 10:50 PM
|
#3
|
Member
Registered: Sep 2007
Posts: 61
Original Poster
Rep:
|
Quote:
Originally Posted by {BBI}Nexus{BBI}
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
|
|
|
10-25-2007, 01:56 PM
|
#4
|
Member
Registered: Sep 2007
Posts: 61
Original Poster
Rep:
|
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
|
|
|
10-25-2007, 06:13 PM
|
#5
|
Senior Member
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313
|
Quote:
Originally Posted by christopher_c
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.
|
|
|
10-25-2007, 11:30 PM
|
#6
|
Member
Registered: Sep 2007
Posts: 61
Original Poster
Rep:
|
Quote:
Originally Posted by {BBI}Nexus{BBI}
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 ><
|
|
|
10-25-2007, 11:47 PM
|
#7
|
Senior Member
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313
|
Check your /var/log/auth.log to see if any attempt to connect to webmin has been recorded.
|
|
|
10-25-2007, 11:55 PM
|
#8
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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.
|
|
|
10-26-2007, 01:00 PM
|
#9
|
Member
Registered: Sep 2007
Posts: 61
Original Poster
Rep:
|
Quote:
Originally Posted by {BBI}Nexus{BBI}
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?
|
|
|
10-26-2007, 02:27 PM
|
#10
|
Member
Registered: Jul 2007
Distribution: Fedora 7, Ubuntu 7.04
Posts: 34
Rep:
|
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.
|
|
|
10-31-2007, 03:33 PM
|
#11
|
Member
Registered: Sep 2007
Posts: 61
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 12:37 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|