LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to open a port? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-open-a-port-307193/)

Dissevered 03-28-2005 07:44 PM

How to open a port?
 
Hiya, new here and have a question. I tried using the search option but i sat here for 2 minutes on cable and it wouldnt do anything... not sure if its overloaded or what so ill just make a post :P. sorry if its a repeat

I recently installed ventrilo chat onto my server, which is linux redhat. I need to open a certain port in SSH but Im not sure how to do so. Can anyone help me? Thank you in advance

GUIPenguin 03-28-2005 08:04 PM

well do you have a basic iptables firewall installed??

su
/sbin/iptables -L INPUT will list the input and the rules that it has

if you need to open ssh by default port (22)

iptables -A INPUT -p tcp --dport 22 -j ACCEPT

are you saying you need help port forwording or configuring a firewall?
do you have a router infrount of your computer that needs to provide port forwording?

oh....and btw....welcome to LQ Forums

-GUI

Dissevered 03-28-2005 08:40 PM

Thank you ^_^

I ran the command you said, and this is what came up.

ACCEPT tcp -- anywhere anywhere tcp dpt:3784

I ran nmap and it doesnt list the port as open.

Also, I dont really know what im doing lol, im new to this. All I need is for port 3784 to be open, because that is the port the ventrilo program uses. If theres any other info i could give to help let me know. Thanks for your reply :)

Also, im not sure if theres any firewall or whatnot. I dont technically own the server, I rent it from a datacenter. They wont help me with anything because it involves a 3rd party program.

foo_bar_foo 03-29-2005 01:23 AM

most likely have to configure a router of something yes ?


All times are GMT -5. The time now is 11:40 AM.