LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   should this port be open! (https://www.linuxquestions.org/questions/linux-newbie-8/should-this-port-be-open-54980/)

lhiggins 04-14-2003 08:07 AM

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.

neenee 04-14-2003 08:35 AM

you might have apache installed and running; remove apache
and the port will not be held open by anything.

lhiggins 04-15-2003 01:04 AM

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. :D

neenee 04-15-2003 04:34 AM

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.

lhiggins 04-15-2003 06:05 AM

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.

nakkaya 04-15-2003 07:44 PM

which one do you have iptables or ipchains iptables is the never one that comes with 2.4.x kernels

lhiggins 04-15-2003 11:13 PM

Im running ipchains. I have a 2.2.X Kernel.


All times are GMT -5. The time now is 09:51 PM.