LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-14-2003, 09:07 AM   #1
lhiggins
Member
 
Registered: Jan 2003
Location: Sydney, Australia
Distribution: FedoraCore
Posts: 105

Rep: Reputation: 15
should this port be open!


Hey all,

Silly question here!
Smoothwall version1.0 -
I dont have a web server but for some reason port 80 is opened on my firewall. If it should be blocked would the command be?

Thanks all in advance.
 
Old 04-14-2003, 09:35 AM   #2
neenee
Member
 
Registered: Feb 2003
Location: Netherlands
Distribution: debian (sid)
Posts: 693

Rep: Reputation: 30
you might have apache installed and running; remove apache
and the port will not be held open by anything.
 
Old 04-15-2003, 02:04 AM   #3
lhiggins
Member
 
Registered: Jan 2003
Location: Sydney, Australia
Distribution: FedoraCore
Posts: 105

Original Poster
Rep: Reputation: 15
Yes apache is running for the web administration from which It is configured to listen to port 445. I am just unsure why it would be still open if its not listening to port 80 anymore.

I am finding the IPCHAINS command a little difficult.
I have read a HOW TO on the command but I dont want to kill my web browsing.

Thanks for getting back to me.
 
Old 04-15-2003, 05:34 AM   #4
neenee
Member
 
Registered: Feb 2003
Location: Netherlands
Distribution: debian (sid)
Posts: 693

Rep: Reputation: 30
hmm.. you could use iptables to close that port;

/sbin/iptables -A INPUT -p tcp --syn --destination-port 80 -j DROP

port 445 will then stay unaffected.

incase this is not what you want, you can remove this rule by doing:

/sbin/iptables -D INPUT -p tcp --syn --destination-port 80 -j DROP

good luck.
 
Old 04-15-2003, 07:05 AM   #5
lhiggins
Member
 
Registered: Jan 2003
Location: Sydney, Australia
Distribution: FedoraCore
Posts: 105

Original Poster
Rep: Reputation: 15
Actually my firewall uses ipchains. I tried to modify the command you gave me but it didnt work (replied back no target). I am using smoothwall 1.0. Have you tried the Mandrake Network Firewall yet? I am interested in moving to it. It uses iptables. It seems the packages are more current than smoothwall. I do know that when smoothwall 2.0 comes out it has changed to iptables. So whats the difference. According to a website I looked up iptables does stateful packet inspection. I thought ipchains did that also.

Once again thanks for getting back to me.
 
Old 04-15-2003, 08:44 PM   #6
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
which one do you have iptables or ipchains iptables is the never one that comes with 2.4.x kernels
 
Old 04-16-2003, 12:13 AM   #7
lhiggins
Member
 
Registered: Jan 2003
Location: Sydney, Australia
Distribution: FedoraCore
Posts: 105

Original Poster
Rep: Reputation: 15
Im running ipchains. I have a 2.2.X Kernel.
 
  


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
Need to open a port... perry Linux - Networking 6 05-19-2007 02:23 PM
cannot SFTP to SUSE 9.2 box, port 22 open, can putty in though using same port. jgrady Linux - Networking 6 03-29-2005 09:44 AM
port 25 won't open argh2005 Linux - Networking 8 08-30-2003 11:33 AM
firewall.rc.config says :"open port 8080" but nmap says port is closed saavik Linux - Security 2 02-14-2002 01:16 PM
Open Port d-man38 Linux - Security 3 04-15-2001 02:43 PM


All times are GMT -5. The time now is 02:38 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration