Can not block my IP

This is a discussion on Can not block my IP within the Linux Security forums, part of the System Security and Security Related category; my eth0 is 196.40.74.126 netmask 255.255.255.240 eth1 196.40.74.125 netmask 255.255....


Go Back   Usenet Forums > System Security and Security Related > Linux Security

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-04-2006
datavaults@hotmail.com
 
Posts: n/a
Default Can not block my IP

my eth0 is 196.40.74.126 netmask 255.255.255.240 eth1 196.40.74.125
netmask 255.255.255.240.



I used this script to block my 196.40.74.116( netmask is
255.255.255.240, gateway is 196.40.74.125) , but not successfully , can
any one tell me why?

any help is appreicated.

# Generated by iptables-save v1.2.11 on Tue Jan 3 08:39:30 2006
*filter
:INPUT ACCEPT [16:792]
:FORWARD DROP [101:5872]
:OUTPUT ACCEPT [34:2692]
:RH-Firewall-1-INPUT - [0:0]
:insideOnly - [0:0]
-A INPUT -d 196.40.74.126 -p tcp -m tcp --dport 22 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 80 -j DROP
-A FORWARD -d 196.40.74.116 -i eth0 -o eth1 -p tcp -m tcp --dport 80 -j
DROP
-A FORWARD -i eth0 -o eth1 -j ACCEPT
-A FORWARD -i eth1 -o eth0 -j ACCEPT
-A insideOnly -i eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A insideOnly -i ! eth0 -m state --state NEW -j ACCEPT
COMMIT
# Completed on Tue Jan 3 08:39:30 2006
# Generated by iptables-save v1.2.11 on Tue Jan 3 08:39:30 2006
*nat
:PREROUTING ACCEPT [30:5452]
:POSTROUTING ACCEPT [12:4200]
:OUTPUT ACCEPT [0:0]
COMMIT
# Completed on Tue Jan 3 08:39:30 2006

Reply With Quote
Reply
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:44 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0