Link to home
Start Free TrialLog in
Avatar of tunapo
tunapo

asked on

Please Help with Centos 6 Server

I have installed a CentOS-6.2-x86_64 server with the help of Server-Worldhttp://server-world.info/en/

but after succesfuly installing the server with the following functions Webserver, DNS, Webmin

i cant not access anything on this server including Webmin https://74.92.128.51:10000

but i can connect to the server via ssh from a different network
Avatar of xterm
xterm

Please ssh in and execute the following commands and paste the output here.

My guess is that you either need to permit it through the firewall, or perhaps its only listening on localhost instead of your actual IP address.
ps ax | grep webmin
netstat -na | grep :10000
/sbin/iptables -nL
/usr/sbin/getenforce

Open in new window

Avatar of tunapo

ASKER

[root@maskjams ~]# netstat -na | grep :10000
tcp        0      0 0.0.0.0:10000               0.0.0.0:*                   LISTEN      
udp        0      0 0.0.0.0:10000               0.0.0.0:*                               
[root@maskjams ~]# ps ax | grep webmin
 1191 ?        Ss     0:00 /usr/bin/perl /usr/libexec/webmin/miniserv.pl /etc/webmin/miniserv.conf
 1261 pts/0    S+     0:00 grep webmin
[root@maskjams ~]# netstat -na | grep :10000
tcp        0      0 0.0.0.0:10000               0.0.0.0:*                   LISTEN      
udp        0      0 0.0.0.0:10000               0.0.0.0:*                               
[root@maskjams ~]# netstat -na | grep :10000
tcp        0      0 0.0.0.0:10000               0.0.0.0:*                   LISTEN      
udp        0      0 0.0.0.0:10000               0.0.0.0:*                               
[root@maskjams ~]# /usr/sbin/getenforce
Disabled
[root@maskjams ~]# 

Open in new window


those are the result after using the cold you gave me, but the problem still the same
Yes, those are just diagnostic commands so I can see what is wrong.  You skipped the most important one however, please run it and paste the output.

BTW, from the above, I can tell many things:
1)  webmin is installed and running properly
2)  webmin is listening on the correct port (10000) and is listening on all ethernet interfaces
3)  selinux is disabled, so that is not preventing the connection

It's almost certainly going to be iptables.
/sbin/iptables -nL

Open in new window

Avatar of tunapo

ASKER

[root@maskjams ~]# /sbin/iptables -nL
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED 
ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0           
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:22 
REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited 

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited 

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
[root@maskjams ~]# 

Open in new window

Thanks for the fast reply
ASKER CERTIFIED SOLUTION
Avatar of xterm
xterm

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tunapo

ASKER

great thanks it worked what if i want to allow all connection to my server in general so i could access it from any computer / network like a normal server those what do i  do?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tunapo

ASKER

Thank you so much