hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : All ports blocked but one... SSH (22)
Reply

VPS Hosting Virtual private server discussion and vps hosting solutions. Review VPS hosting providers and offer advice on virtual web hosting solutions. If your service is unavailable, please click here.
Forum Jump

All ports blocked but one... SSH (22)

Reply Post New Thread In VPS Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 01-14-2011, 11:54 PM
gigist gigist is offline
WHT Addict
 
Join Date: Jul 2010
Location: South Floooor-eduh
Posts: 126

All ports blocked but one... SSH (22)


Greets,

Let me know if this is in the wrong section .

So, I'm running into a little issue here. My VPS is showing all ports blocked but one (SSH)... checked this through nmap and various online port checking websites. I need a specific port open but have no idea how to go about it.

OS = CentOS 5

I have used multiple commands to open the iptables (disable it altogether) but it's not happening.

Have used:
Code:
iptables -A RH-Firewall-1-INPUT -p tcp -m tcp --dport 443 -j ACCEPT
Code:
service iptables stop
chkconfig iptables off
Is it possible the VPS provider is blocking all the ports (NAT)? I dunno... I'm clueless.

Thanks for your time!

Reply With Quote


Sponsored Links
  #2  
Old 01-15-2011, 12:08 AM
quantumphysics quantumphysics is offline
MACBOOKS EVERYWHEREEEEEEEEEEEE
 
Join Date: Mar 2009
Posts: 3,805
Whos your provider? I know Amazon EC2 forces ports closed before it hits your vps (default is ssh only)

__________________
mirACL: firewalls in software.

Reply With Quote
  #3  
Old 01-15-2011, 12:33 AM
LVPSHosting LVPSHosting is offline
Web Hosting Master
 
Join Date: Sep 2009
Posts: 1,416
They may have central firewall where your ISP IP address is blocked. Contact them and tell them about this problem.

__________________
LVPSHosting.com|Virtual Private Servers|Dedicated Servers|
Managed Hosting Solution|24/7/365 Support
Datacentar and servers location: Holland, Europe

Reply With Quote
Sponsored Links
  #4  
Old 01-15-2011, 01:29 AM
PogiWeb PogiWeb is offline
We need coffee...
 
Join Date: Jan 2003
Location: U.S.A.
Posts: 3,906
That is strange and it appears to be some issue with the hostnode.

__________________
PogiWeb LLC | sales@pogiweb.com | 1-704-464-8238
PogiWeb.com - The best VPS prices around with Instant Setups and Reseller Program!
Simply the best Shared, Reseller, Virtual Private Server and Dedicated Server Hosting Provider around!
Join us on Facebook!


Reply With Quote
  #5  
Old 01-15-2011, 01:30 AM
misspink misspink is offline
Disabled
 
Join Date: Sep 2010
Posts: 627
try iptables -F

Reply With Quote
  #6  
Old 01-15-2011, 02:36 AM
gigist gigist is offline
WHT Addict
 
Join Date: Jul 2010
Location: South Floooor-eduh
Posts: 126
Quote:
Originally Posted by quantumphysics View Post
Whos your provider? I know Amazon EC2 forces ports closed before it hits your vps (default is ssh only)
Hostrail

Quote:
Originally Posted by LVPSHosting View Post
They may have central firewall where your ISP IP address is blocked. Contact them and tell them about this problem.
Yeah I sent them a ticket before I wrote this thread. No reply just yet.

Quote:
Originally Posted by PogiWeb View Post
That is strange and it appears to be some issue with the hostnode.
Yeah, possibly. I was pretty shocked to see all the ports closed.

Quote:
Originally Posted by misspink View Post
try iptables -F
Just did. Doesn't return any feedback. Ports still not open (none opened).

Thanks for your time!

Reply With Quote
  #7  
Old 01-15-2011, 02:38 AM
misspink misspink is offline
Disabled
 
Join Date: Sep 2010
Posts: 627
I'm pretty sure that the port scanner websites only show ports in use, for example, this is my webserver:

178.239.52.32 is responding on port 21 (ftp).
178.239.52.32 isn't responding on port 23 (telnet).
178.239.52.32 isn't responding on port 25 (smtp).
178.239.52.32 is responding on port 80 (http).
178.239.52.32 isn't responding on port 110 (pop3).
178.239.52.32 isn't responding on port 139 (netbios-ssn).
178.239.52.32 isn't responding on port 445 (microsoft-ds).
178.239.52.32 isn't responding on port 1433 (ms-sql-s).
178.239.52.32 isn't responding on port 1521 (ncube-lm).
178.239.52.32 isn't responding on port 1723 (pptp).
178.239.52.32 is responding on port 3306 (mysql).
178.239.52.32 isn't responding on port 3389 (ms-wbt-server).
178.239.52.32 isn't responding on port 5900 ().
178.239.52.32 isn't responding on port 8080 (webcache).

However, I'm not blocking any ports.

Reply With Quote
  #8  
Old 01-15-2011, 03:20 AM
gigist gigist is offline
WHT Addict
 
Join Date: Jul 2010
Location: South Floooor-eduh
Posts: 126
Quote:
Originally Posted by misspink View Post
I'm pretty sure that the port scanner websites only show ports in use, for example, this is my webserver:

178.239.52.32 is responding on port 21 (ftp).
178.239.52.32 isn't responding on port 23 (telnet).
178.239.52.32 isn't responding on port 25 (smtp).
178.239.52.32 is responding on port 80 (http).
178.239.52.32 isn't responding on port 110 (pop3).
178.239.52.32 isn't responding on port 139 (netbios-ssn).
178.239.52.32 isn't responding on port 445 (microsoft-ds).
178.239.52.32 isn't responding on port 1433 (ms-sql-s).
178.239.52.32 isn't responding on port 1521 (ncube-lm).
178.239.52.32 isn't responding on port 1723 (pptp).
178.239.52.32 is responding on port 3306 (mysql).
178.239.52.32 isn't responding on port 3389 (ms-wbt-server).
178.239.52.32 isn't responding on port 5900 ().
178.239.52.32 isn't responding on port 8080 (webcache).

However, I'm not blocking any ports.
http://www.yougetsignal.com/tools/open-ports/
^^ one of the websites I used.

And I nmap'd from another linux box here at home. Nothing is open (22 and 3 other ports listening). When I was running Ubuntu w/Gnome on the same VPS, I was able to use VNC but now the VNC port is closed no matter what I do.

I'm fairly confused.

Reply With Quote
  #9  
Old 01-15-2011, 08:04 AM
sleddog sleddog is offline
Web Hosting Master
 
Join Date: Mar 2005
Location: Labrador, Canada
Posts: 873
All ports are "closed" by default. If you want to (for example) serve web traffic on port 80, then you must run an HTTP daemon listening on port 80. Then port 80 is "open".

You can see which daemons are running and listening on ports with this command:

netstat -lt

__________________
sleddog

Reply With Quote
  #10  
Old 01-15-2011, 08:13 AM
gigist gigist is offline
WHT Addict
 
Join Date: Jul 2010
Location: South Floooor-eduh
Posts: 126
Quote:
Originally Posted by sleddog View Post
All ports are "closed" by default. If you want to (for example) serve web traffic on port 80, then you must run an HTTP daemon listening on port 80. Then port 80 is "open".

You can see which daemons are running and listening on ports with this command:

netstat -lt
Did that -- only SSH shows.

Can you by chance write down the commands to do this? I'd greatly appreciate it.

I have a game server running right now and it's not showing up on that list.

Thanks


Last edited by gigist; 01-15-2011 at 08:17 AM.
Reply With Quote
  #11  
Old 01-15-2011, 08:16 AM
iTom iTom is offline
Web Hosting Master
 
Join Date: Apr 2007
Posts: 3,486
If it only shows SSH then you need to install the services you want...

They aren't close, there is just nothing bound to them. What services are you trying to setup?

Reply With Quote
  #12  
Old 01-15-2011, 08:29 AM
gigist gigist is offline
WHT Addict
 
Join Date: Jul 2010
Location: South Floooor-eduh
Posts: 126
It's a game server and it's running right now. I can connect to it if I input the IP:port manually but it won't be listed publicly until the port opens.

Which doesn't make sense to me because if I can connect to it... it can't be blocked? Tried to input the port forward in HyperVM but it says the connection was refused.

Reply With Quote
  #13  
Old 01-15-2011, 08:50 AM
sleddog sleddog is offline
Web Hosting Master
 
Join Date: Mar 2005
Location: Labrador, Canada
Posts: 873
Provide the complete output from these commands, then someone may be able to help you...

netstat -lt

ps aux

__________________
sleddog

Reply With Quote
  #14  
Old 01-15-2011, 10:21 AM
LinologyNetworksLLC LinologyNetworksLLC is offline
WHT Addict
 
Join Date: Jan 2006
Location: Charlotte,NC
Posts: 138
Have you tried using the built-in tool for managing the firewall. Your iptables may be mangled...no pun intended

system-config-securitylevel-tui

__________________
Linology Networks,LLC - Powering Your Future, Today

Reply With Quote
  #15  
Old 01-16-2011, 04:17 AM
gigist gigist is offline
WHT Addict
 
Join Date: Jul 2010
Location: South Floooor-eduh
Posts: 126
Just wanted to update this really quick. Everything is good now... flushing the firewall rules works now (didn't before). No clue, lol. Thanks for the replies/help.

Cheers

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I blocked others from accessing my FTP,SSH AND PLESK ports exept me? sdhost1964 Dedicated Server 6 09-23-2009 08:44 PM
Ports blocked? mark1hos Hosting Security and Technology 2 10-18-2005 12:51 AM
Ports blocked Esr Tek Hosting Security and Technology 4 11-20-2003 11:15 PM
How to access blocked ports dftchris Hosting Security and Technology 4 10-31-2003 10:22 PM
Blocked ports over 1080 - solution! I, Brian Running a Web Hosting Business 1 06-03-2003 07:45 AM

Related posts from TheWhir.com
Title Type Date Posted
Thousands of Sites Mislabeled Phishers After OpenDNS Blocks Google Hosted Scripts Web Hosting News 2012-01-06 15:37:40
Dome9 Study Finds Cloud Vulnerable Without Secure Cloud Ports and Firewalls Web Hosting News 2011-11-02 15:37:19
Akamai Report Names Taiwan Number-One Source of Attack Traffic Web Hosting News 2011-10-28 18:33:23
Global Crossing Deploys New Dedicated Internet Access Ports for Web Host SoftLayer Web Hosting News 2011-08-30 16:49:14
Cloud Security Firm Dome9 Partners with WordPress, CloudFlare Web Hosting News 2011-08-10 18:28:04


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?