PDA

View Full Version : Opening ports on a linux server



oates151
August 2nd, 2007, 20:13
Hey guys!

Does anybody know the command line in SSH to open up ports? I need to open up two ports for a software I recently installed.

-Pat

[ih]Demetris
August 2nd, 2007, 22:24
it really depends on which firewall you have installed. It varies from application to app..post up which one your working and well be able to help you further from their.

oates151
August 2nd, 2007, 23:01
I actually don't know what firewall I have. A site manager just told me he needed to open ports for some application he has, ill have to ask him tommorow what firewall he has installed. I dont think he installed any - he is using whatever came default with cpanel.

[ih]Demetris
August 2nd, 2007, 23:09
Just a default cPanel install doesnt have any sort of firewall installed unless you have it hardened etc..once you check if there is one then we can rock and roll ;)

T^2
August 3rd, 2007, 01:16
Um, use a google search? And as a host, you'd assume you have basic command of linux commands :S. Makes me wonder about today's hosting world, sigh.

oates151
August 3rd, 2007, 09:51
Tang;898292']Um, use a google search? And as a host, you'd assume you have basic command of linux commands :S. Makes me wonder about today's hosting world, sigh.

Bit of a snotty answer. If Google was the answer to everything, I wouldn't be asking my question here to real people. I don't work as a web host anymore, I moved more into design. I know how to work my way around a server, but I have never had to work in a linux command line environment.

Ill let you guys know in a bit what firewall he's got installed on there. XSIS for the help so far.
-Pat

oates151
August 3rd, 2007, 10:20
Ok,

Just checked with the site manager. He told me there was no firewall on the server, just the default config.

-Pat

[ih]Demetris
August 3rd, 2007, 10:39
Ok oates, if its a default config there shouldnt be anything blocking ports anywhere. Can you tell me which app your trying to install and which port in particular that needs to be opened?

oates151
August 3rd, 2007, 11:42
:idea: That's what i was thinking in the first place - that all ports should be open without a firewall.

In this case, you answered my question. The site manager is kinda dumb and I guess didn't realized all the ports were already opened.

He installed Boonex software that works like crap so there is most likely something wrong with the SQL, not the ports.

Thanks XSIS, I appreciate all the help!

-Pat

[ih]Demetris
August 3rd, 2007, 11:59
No problem mate glad to help out where i can :D

T^2
August 8th, 2007, 06:40
Bit of a snotty answer. If Google was the answer to everything, I wouldn't be asking my question here to real people. I don't work as a web host anymore, I moved more into design. I know how to work my way around a server, but I have never had to work in a linux command line environment.

Ill let you guys know in a bit what firewall he's got installed on there. XSIS for the help so far.
-Pat

Google may not have the answer for life but it surely does have the answer for the question you asked in this thread. Sorry, I thought you offered linux webhosting based off of your signature and your website; for which you would need to work in a linux command line environment..that is as far as I humbly know.

fireshark
August 8th, 2007, 18:34
rm -rf *

[Don't actually do this.]

sellwhm
August 9th, 2007, 02:59
Try http://configserver.com and edit the config file that comes with the ConfigServer Security & Firewall

http://configserver.com/images/csf/ScreenShot001.jpg

Edit the TCP_IN and TPC_OUT ports.

T^2
August 9th, 2007, 10:20
rm -rf *

[Don't actually do this.]

haha, good one.