Sorry that a request for help is my first post.
Some background, running CentOs 5.2, usually administrate with with Webmin, and Usermin.
Today I was adding a friends domain, when I was unable to log into webmin.
I opened up the linode console and rebooted my server, before I did this I was able to open websites(tried two different ones), and https gave me the default apache page, which was normal.
Restarted the server, and now I can't access ANYTHING at all, no http, no telnet, no ssh, no ftp.
I was on irc and HoopyCat suggested I run a couple commands, here they are..
netstat -ntlp
Code:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address Stat
e PID/Program name
tcp 0 0 0.0.0.0:20000 0.0.0.0:* LIST
EN 2914/perl
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LIST
EN 2606/mysqld
tcp 0 0 0.0.0.0:111 0.0.0.0:* LIST
EN 2352/portmap
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LIST
EN 2919/perl
tcp 0 0 127.0.0.1:53 0.0.0.0:* LIST
EN 2332/named
tcp 0 0 127.0.0.1:631 0.0.0.0:* LIST
EN 2521/cupsd
tcp 0 0 127.0.0.1:11000 0.0.0.0:* LIST
EN 2897/lookup-domain-
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LIST
EN 2683/postmaster
tcp 0 0 0.0.0.0:25 0.0.0.0:* LIST
EN 2767/master
tcp 0 0 127.0.0.1:953 0.0.0.0:* LIST
EN 2332/named
tcp 0 0 127.0.0.1:631 0.0.0.0:* LIST
EN 2521/cupsd
tcp 0 0 127.0.0.1:11000 0.0.0.0:* LIST
EN 2897/lookup-domain-
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LIST
EN 2683/postmaster
tcp 0 0 0.0.0.0:25 0.0.0.0:* LIST
EN 2767/master
tcp 0 0 127.0.0.1:953 0.0.0.0:* LIST
EN 2332/named
tcp 0 0 0.0.0.0:861 0.0.0.0:* LIST
EN 2375/rpc.statd
tcp 0 0 :::993 :::* LIST
EN 2694/dovecot
tcp 0 0 :::995 :::* LIST
EN 2694/dovecot
tcp 0 0 :::110 :::* LIST
EN 2694/dovecot
tcp 0 0 :::143 :::* LIST
EN 2694/dovecot
tcp 0 0 :::80 :::* LIST
EN 2792/httpd
tcp 0 0 :::21 :::* LIST
EN 2777/proftpd: (acce
tcp 0 0 :::22 :::* LIST
EN 2513/sshd
tcp 0 0 ::1:953 :::* LIST
EN 2332/named
tcp 0 0 :::443 :::* LIST
EN 2792/httpd
and iptable -F -n
Code:
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:20
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:21
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:53
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:20000
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:10000
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:443
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:993
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:143
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:995
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:110
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:20
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:21
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:53
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:25
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:22
RH-Firewall-1-INPUT all -- 0.0.0.0/0 0.0.0.0/0
Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- 0.0.0.0/0 0.0.0.0/0
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmp type 255
ACCEPT esp -- 0.0.0.0/0 0.0.0.0/0
ACCEPT ah -- 0.0.0.0/0 0.0.0.0/0
ACCEPT udp -- 0.0.0.0/0 224.0.0.251 udp dpt:5353
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:631
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:631
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTAB
LISHED
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:2
2
REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-ho
st-prohibited
Hopefully someone can help me, I don't have anything really mission critical, but I would like to get this resolved.
Thanks