[Ilugc] iptables config problem

  • From: vt263@xxxxxxxxx (vinoo)
  • Date: Wed, 14 Apr 2004 22:39:26 -0700 (PDT)

--0-1158310549-1082007566=:13133
Content-Type: text/plain; charset=us-ascii

hi all
 
in machine eth0 is the internet and eth1 is the internal lan connecting another 
machine....
 
i am trying to block port 80 on eth0 , and allow only port 22(ssh). I am able 
to allow 22 and block telnet , but not port 80......
 
iptables -A INPUT -i eth0 -p tcp  --dport 80 -j DROP
 
i am using squid for proxy ....and i have tried access from external 
netwrok...and i am able to get the default apache page.....
 
how can i shut port 80??
 
 
vt

                
---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
--0-1158310549-1082007566=:13133
Content-Type: text/html; charset=us-ascii

<DIV>hi all</DIV>
<DIV>&nbsp;</DIV>
<DIV>in machine eth0 is the internet and eth1 is the internal lan connecting 
another machine....</DIV>
<DIV>&nbsp;</DIV>
<DIV>i am trying to block port 80 on eth0 , and allow only port 22(ssh). I am 
able to allow 22 and block telnet , but not port 80......</DIV>
<DIV>&nbsp;</DIV>
<DIV>iptables -A INPUT -i eth0 -p tcp&nbsp; --dport 80 -j DROP</DIV>
<DIV>&nbsp;</DIV>
<DIV>i am using squid for proxy ....and i have tried access from external 
netwrok...and i am able to get the default apache page.....</DIV>
<DIV>&nbsp;</DIV>
<DIV>how can i shut port 80??</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>vt</DIV><p>
                <hr size=1><font face=arial size=-1>Do you Yahoo!?<br>
Yahoo! Tax Center - <a href="http://taxes.yahoo.com/filing.html";>File online by 
April 15th</a>
--0-1158310549-1082007566=:13133--

Other related posts: