Fedora Linux Support Community & Resources Center
  #1  
Old 28th January 2010, 08:33 PM
strycnine Offline
Registered User
 
Join Date: Jan 2006
Age: 26
Posts: 37
linuxfedorafirefox
block http port

Hi, how do I block my http port(80) I tried
iptables -A INPUT -j DROP -p tcp --destination-port 80 -i eth0

with no effect. I tried with gnome-firewall and still nothing. There is another way?

thx
Reply With Quote
  #2  
Old 28th January 2010, 09:36 PM
madhavdiwan Offline
Registered User
 
Join Date: Jun 2009
Posts: 472
windows_xp_2003firefox
how did you test ?

if you test from inside the box (IE from your X display or Gnome) your input will get to the webserver via the localhost loopback device not through your eth0 interface.. in other words your source will be -i lo

you have to either test from another server .. or not use the source element " -i eth0 " in your iptables rule .. ( IE dont use -i eth0 at the end )
Reply With Quote
  #3  
Old 29th January 2010, 05:44 AM
strycnine Offline
Registered User
 
Join Date: Jan 2006
Age: 26
Posts: 37
linuxfedorafirefox
I tried http://192.168.2.100. when I nmap localhost I can see my postgresql port, but whan I nmap 192.168.2.100 I can not. guess is not a difference at all, I will try another computer.

thx
Reply With Quote
Reply

Tags
block, http, port

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Block port 5353 ?? PatThompson Security and Privacy 0 31st May 2009 04:24 PM
IRC Port Block SD Lead Sponge Wibble 4 1st June 2008 12:21 PM
HTTP attack ... how prevent an block? Gran_Maestre Security and Privacy 5 1st August 2005 03:48 PM
turn off http port 80, keep https port 443 lothario Servers & Networking 11 11th February 2005 04:32 AM


Current GMT-time: 13:43 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat