LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 04-12-2004, 10:24 AM   #1
vladdy2004
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat And 9 E-Smith
Posts: 11

Rep: Reputation: 0
Need To Open Port 8087


Can Anyone help and tell me where the config file is for this?


Thanks
 
Old 04-12-2004, 10:48 AM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
what port? tcp 8087 or udp 8087? if its so, the answer is iptables. in redhat (or fedora) systems, save file located /etc/sysconfig/iptables. but u do not need to edit this file. try the following line (it will work in all distors which support iptables):

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

if it works save the changes. in redhat systems u can type the following to do that.
#service iptables save
 
Old 04-12-2004, 11:08 AM   #3
vladdy2004
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat And 9 E-Smith
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks for responding so quick. It's TCP I believe. I have to be able to connect to e website's VDECK Control panel and they said they use PORT 8087 and 8080. I'm using e-smith server firewall. I'll try what you said.


Thanks!
 
Old 04-12-2004, 11:16 AM   #4
vladdy2004
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat And 9 E-Smith
Posts: 11

Original Poster
Rep: Reputation: 0
I just tried that command on my redhat box and did a cat iptables and don't see that change.
 
Old 04-12-2004, 11:28 AM   #5
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
hmm.. if u have redhat u can try configure your firewall.
type follwing in terminal (become root if u are not.)

setup

choose "firewall configuration"
choose costumize and open needed ports.

u said " I'm using e-smith server firewall". is it working on your cmputer? if you are behind a firwall, u must configure your firewall to redirect needed ports (tcp 8082..) to your computer.
 
Old 04-12-2004, 12:03 PM   #6
vladdy2004
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat And 9 E-Smith
Posts: 11

Original Poster
Rep: Reputation: 0
Yea i'm using E-Smith as the firewall which is based on redhat. I remember a few weeks ago Someone mentioned a particular file to edit and I simply put 8087 in the safe ports section. That worked fine and I could connect to the VDECK on startlogics site. I ended up reinstalling and cant remember the file. lol
 
Old 04-12-2004, 12:06 PM   #7
vladdy2004
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat And 9 E-Smith
Posts: 11

Original Poster
Rep: Reputation: 0
I must add that the e-smith is a stand alone firewall/server. i'm on other machines behind the firewall .If I plug in my old dlink router I can connect fine to the vdeck on port 8087. What is the main file that has the ports listed as Safe etc..?

Last edited by vladdy2004; 04-12-2004 at 12:09 PM.
 
Old 04-12-2004, 12:48 PM   #8
vladdy2004
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat And 9 E-Smith
Posts: 11

Original Poster
Rep: Reputation: 0
There appears to be several areas where Iptables is locate. When I did a ./Iptables in etc/rc.d/init.d it showed the port open.
 
Old 04-13-2004, 03:23 AM   #9
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
i dont know e-smith nor other firewalls. possibly it is an iptables script to configure firewall. i prefer to configure my firewall myself.
yes u r right, the following shows u the current iptables status in kernel:
/etc/rc.d/init.d/iptables status

safe port means the ports will be opened. so your firewall will allow the request comes to safe ports. u make some ports safe. so there is not certain safe ports. if u wanna see the port numbers of services look at /etc/services file.

u said " i'm on other machines behind the firewall ". so u must configure your firewall. is it a linux too? if it is a linux u can do port forward.
 
Old 04-13-2004, 10:54 AM   #10
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
maybe this URL will help u. take a look
http://iptables-script.dk/
 
Old 04-13-2004, 11:12 AM   #11
vladdy2004
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat And 9 E-Smith
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks.. Yes my e-smith is the firewall. The computers behind it are windows and linux. Those arent the problem. The problem is in the e-smith and located the conf file where the ports are listed so I can simply add 8087 like I did before. I'll be damned if I can remember where it was..lol It wasn't ip chains though.
 
Old 04-13-2004, 11:22 AM   #12
artur
Member
 
Registered: Apr 2002
Location: Illinois, US
Distribution: Red Hat, Fedora, Yellow Dog, Debian, FreeBSD, Embedix
Posts: 106

Rep: Reputation: 15
I don't get why you would need to open a port on your firewall to connect to a remote port 8087 or whatever other port you might want. Shouldn't your firewall block any incoming connections to ports you don't want people connecting to but allow any outgoing connections to any port you want? That is so weird.

Anyway, try
grep -r -i safe /etc/*
this will list any files that contain the word safe anywhere within /etc/directory, which is where the file you;re looking for is most likely located. Consult man grep for details.
 
Old 04-13-2004, 12:38 PM   #13
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
yah, dud, but you are forgetting about the response.

the whole thing probably operates on tcp/8080 and 8088.
 
Old 04-13-2004, 05:32 PM   #14
artur
Member
 
Registered: Apr 2002
Location: Illinois, US
Distribution: Red Hat, Fedora, Yellow Dog, Debian, FreeBSD, Embedix
Posts: 106

Rep: Reputation: 15
Quote:
Originally posted by AutOPSY
yah, dud, but you are forgetting about the response.
Actually, no, I thought this might be the reason. But I always thought that once the connection is originated from a local machine, any response coming back is allowed through. Only the connections originating outside are blocked. But I guess I might be wrong on this one and any packets, including response, coming in are blocked unless specifically allowed through. That would be silly though, most of the time one would presume that since the connection originated from a trusted local network, we'd want to hear the response.

Idunno... Just some food for thought...
 
Old 04-14-2004, 09:00 AM   #15
vladdy2004
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat And 9 E-Smith
Posts: 11

Original Poster
Rep: Reputation: 0
Tell me about it! lol Last night I simply unplugged the linux router and plugged into a dlink router...Connected to the site..got done what I needed to get done then plugged in the linux router again. There is no GUI With this E-smith Router/Gateway Box. It's all command line which I really dont have a problem with, I just done know where you can clearly open or close a port at will.. the defacto place where ports are denied or accepted? And ive tried for week on the google and forums and noone else seems to know either.
 
  


Reply



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
cannot SFTP to SUSE 9.2 box, port 22 open, can putty in though using same port. jgrady Linux - Networking 6 03-29-2005 08:44 AM
Browsers wont call a webpage via 8087 or 2024 linuxfond Linux - Newbie 2 09-08-2003 01:00 PM
Open FW port rulleeeee Linux - Networking 1 02-01-2003 09:49 AM
firewall.rc.config says :"open port 8080" but nmap says port is closed saavik Linux - Security 2 02-14-2002 12:16 PM
Open Port d-man38 Linux - Security 3 04-15-2001 01:43 PM

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

All times are GMT -5. The time now is 01:51 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