Welcome, Guest. Please login or register.
Did you miss your activation email?
Saturday 02 November 2024, 04:29:08 am

Login with username, password and session length

CLICK HERE for the The official Endian Roadmap and Issue tracker
14248 Posts in 4376 Topics by 6515 Members
Latest Member: hulteends
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  How to drop an IP address in Endian firewall?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: How to drop an IP address in Endian firewall?  (Read 9999 times)
vlongjvc
Full Member
***
Offline Offline

Posts: 27


« on: Thursday 03 December 2009, 02:55:54 pm »

I tried follwing command but failed  Undecided:

iptables -I INPUT -s 203.82.140.101 -j DROP

Any one know how to drop a list of incoming IP addresses?

Thanks,
Logged
vlongjvc
Full Member
***
Offline Offline

Posts: 27


« Reply #1 on: Thursday 10 December 2009, 07:04:47 pm »

No one? I heard about fail2ban, have anyone integrated fail2ban into efw?
Logged
vlongjvc
Full Member
***
Offline Offline

Posts: 27


« Reply #2 on: Tuesday 15 December 2009, 08:36:33 pm »

Just want to share my experience, you can drop multiple IP addresses by creating a Destination NAT rule:

- Access from:
x.x.x.x/32
x.x.x.x/32
.....
x.x.x.x/32

- Target:
<ANY Uplink>

- Filter policy:
DROP

- Service:
<ANY>
- Protocol:
<ANY>
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.047 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com