LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Help with CentOS VPS (https://www.linuxquestions.org/questions/linux-server-73/help-with-centos-vps-4175498520/)

Dugga1 03-17-2014 05:05 PM

Help with CentOS VPS
 
I bought a KVM VPS with CentOS x64, altough it's showing as Online I'm not able to connect via Putty (SSH) on port 22.
It's like it's offline, even if I ping the IP it would show: Request Timed Out.

I'm connected through VNC though, how can I fix this problem and connect through Putty?

Info:

Cat /etc/resolv.conf shows me:
nameserver 8.8.8.8
nameserver 8.8.4.4

Google DNS.

Thank you very much

custangro 03-17-2014 05:07 PM

What does IP tables show?

--C

Dugga1 03-17-2014 05:17 PM

2 Attachment(s)
Quote:

Originally Posted by custangro (Post 5136327)
What does IP tables show?

--C

iptables -L and Cat /etc/sysconfig/iptables shows me:

custangro 03-17-2014 05:32 PM

Makes sense why you can't ping.

Try flushing iptables and see if you can connect (just for testing)

Code:

iptables --flush

Dugga1 03-17-2014 05:44 PM

Quote:

Originally Posted by custangro (Post 5136346)
Makes sense why you can't ping.

Try flushing iptables and see if you can connect (just for testing)

Code:

iptables --flush

I'm a Linux Rookie, can you give me the codes to input?
Thank you.

custangro 03-17-2014 05:59 PM

That is the code. On the server run that IP tables command as root and then try to connect

--C

Dugga1 03-17-2014 06:11 PM

No change at all. =/

custangro 03-17-2014 06:15 PM

Can you ping your server now at least?

--C

Dugga1 03-17-2014 06:22 PM

Request timed out
Request timed out
Request timed out
...

custangro 03-17-2014 06:26 PM

Have you tried from another machine?

What does a traceroute show?

-C


All times are GMT -5. The time now is 06:47 AM.