LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-04-2004, 02:30 PM   #1
gpamkenny
LQ Newbie
 
Registered: Oct 2004
Posts: 10

Rep: Reputation: 0
Opening a Port


I just installed RH3 without RH Firewall. I would like to open port 5555.
Would I stop the init.d service and edit /etc/services then restart the init.d service.

Thanks,
 
Old 11-04-2004, 02:37 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
How you open it depends what application you are trying to run on port 5555 and how it runs.
 
Old 11-04-2004, 02:45 PM   #3
gpamkenny
LQ Newbie
 
Registered: Oct 2004
Posts: 10

Original Poster
Rep: Reputation: 0
I am using HP Data Protector to back up Linux clients.
Data Protector uses port 5555 to comunicate with the backup server
and the back up clients.

Thanks
 
Old 11-04-2004, 02:51 PM   #4
predator.hawk
Member
 
Registered: Aug 2004
Location: USA
Distribution: FreeBSD-5.4-STABLE
Posts: 252

Rep: Reputation: 30
iptables -A INPUT -p tcp --dport 5555 -j ACCEPT

run that after becoming root (with su -, su doesn't work right). It will open up port 5555. might also want to do iptables -A OUTPUT -p tcp --dport 5555 -j ACCEPT to allow unrestriced outbound on that port.

~predatorfreak
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
shorewall -- opening a port netpacket Linux - Security 1 09-18-2005 10:17 PM
Opening Port steve007 Linux - Newbie 5 07-23-2005 01:05 PM
opening a port Robin01 Linux - General 3 11-17-2004 10:40 PM
6881 Port Opening? Bana Linux - Networking 1 02-16-2004 07:34 PM
Opening port 80 nmoog Linux - Newbie 4 02-01-2004 04:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration