1832274 Members
1953 Online
110041 Solutions
New Discussion

Re: Webmin

 
SOLVED
Go to solution
manny_9
Frequent Advisor

Webmin

Redhat 9 es /sendmail

I have installed webim and can access it just fine internally.
http://xx.xx.xx.xx:10000/
I cannot access webmin from outside.
the RH server is behind a firewall with port 10000 open.

when i do a nmap xx.xx.xx port 10000 doesn't show up.

netstat -l shows 10000 listening.

in the webmin config i noticed that port 10000 is the the chosen port. if i am not mistaken there was another feature in that config?? could that be the reason why??

if so which webmin file do i manually edit to correct it. i am not @ the server. i have a ssh session.

i opened the miniserv.conf and can see port 10000. etc/webmin.

i did a service webmin/xinetd restart.

what am i missing??

Thanks in advance
7 REPLIES 7
Alexander Chuzhoy
Honored Contributor
Solution

Re: Webmin

check if you also have internal firewall (iptables) working.
do this command:
service iptables stop
then check again if you can access the webmin...
manny_9
Frequent Advisor

Re: Webmin

Thanks!!

Iptables was running/with default policy.

I shut iptables down.

did service xinetd/webmin restart.

still can't get in!!

I have to be missing something simple??

Thanks
Stuart Browne
Honored Contributor

Re: Webmin

Run this command and show us the output:

netstat -ntlp | grep 10000

We need to know what IP it's bound too.
One long-haired git at your service...
manny_9
Frequent Advisor

Re: Webmin

output of netstat -ntpl | grep 10000

tcp 0 0.0.0.0:10000 0.0.0.0* LISTEN 10314/perl

Thanks
Alexander Chuzhoy
Honored Contributor

Re: Webmin

Hey,
You've mentioned that you RH is behind the firewall.From the messages you've posted it seems that the station doesn listen on port 10000 .
So it looks like the firewall that the station is behind is the one that blocks that the necessary port.
Try from outside this firewall to telnet to port 10000
telnet x.x.x.x 10000
where x.x.x.x is the IP address of the station with webmin running.If you get error message saying that you can't connect to this port-than this port is blocked and you'll have to check the firewall configuration again.
Steven E. Protter
Exalted Contributor

Re: Webmin

If webmin works with the firewall down and it doesn't with the firewall up.

The obvious conclusion is its the iptables firewall.

Therefore:

Read the config and see if you can find the problem.

or

post the configuration here and let one of us figure it out.

or

add your configuration in line by line, running webmin tests until you find the offending line of iptables code.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
manny_9
Frequent Advisor

Re: Webmin

Thanks to everybody!!!!

I was unable to telnet into firewall on port 10000.

We configured the new firewall on fri. and it looked good. but we obviously made a mistake.


From here I won't be able to do anything until i return to work on Mon.

Thanks Alot!!