Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
What port are you using for the Webmin server? If it is other than port 80, are you running iptables? If so, then make sure that you have a rule to allow that port. I think the default port for Webmin is 10000.
I am not running IPTables, nor do I have "fedoras" firewall enable neither.
Well, I'm not sure about IPTables completley, wheres the iptables file located?
/etc/sysconfig/iptables -- right? heres the code for that file
Code:
# Firewall configuration written by redhat-config-securitylevel
# Manual customization of this file is not recommended.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:RH-Firewall-1-INPUT - [0:0]
-A INPUT -j RH-Firewall-1-INPUT
-A FORWARD -j RH-Firewall-1-INPUT
-A RH-Firewall-1-INPUT -i lo -j ACCEPT
-A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
-A RH-Firewall-1-INPUT -p 50 -j ACCEPT
-A RH-Firewall-1-INPUT -p 51 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 25 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
COMMIT
There appears to no mention of port 10000 (webmin default port)
I've also set webmins port to port 81, still no beans, still only localhost seems to be able to connect to webmin, whereas other systems on the LAN cannot.
you need to include the port and the http:// part!
greetz,
.-=~ iluvatar ~=-.
edit:
just for info, it works from localhost because this line in the iptables file:
-A RH-Firewall-1-INPUT -i lo -j ACCEPT
this means to accept ALL incoming connections from localhost
It worked, I added that line manually and then restarted the system (changes didn't take effect until I restarted, and I don't know how to restart the iptables deamon.
If someone will mention how to restart iptables deamon so the changes take effect, I'd appriciate it! Thanks!
I can't log into webmin remotely and as I read the following, I found out that I do not have the iptables file.
Any body knows how I can create or fix my problem that?
In another chat room I read that rempte log in is not on. Could that be the problem?
Found this subject helpfull regarding access to Webmin from a machine that is not localhost, but in my case I had to modify the line:
iptables -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 10000 -j ACCEPT
to:
iptables -I RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 10000 -j ACCEPT
the first line places the accept rule at the end of the chian, after the reject rule. The port 10000 connection is rejected before it gets to the accept rule. The -I causes the rule to be inserted at the beginning of the chain. This may be unique to what I am using, Fedora 3, as it worked for the OP.
Posting this in case someone has the same problem as I did.
Thanks iluvatar for getting me pointed in the right direction.
I,m running Squid Proxy on my Suse Linux box, and I down loaded Webmin so i could more easley configure the proxy. When i first installed it i could login with no problem. I turned the machine off to move it in my lab to a new location, started the machine up and tried again to access the local proxy and got this error
Firefox can't establish a connection to the server at linux-ym0b:10000.
You'll probably need to start Webmin again. Look in the /etc/rc.d/init.d directory (I think that's what it is on Suse) and look for a script for webmin. Use that to start Webmin again.
If that works, then add that command into the rc.local file to make Webmin start automatically.
I went to directory /etc/rc.d but there was know init.d. Is there a command to restart the service? You will have to excuse me I'm new to the Linux world.
There is a command to restart, but there has to be an init script first. Try the command "service webmin start".
If the installer created the init script, then that should work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.