Welcome, Guest. Please login or register.
Did you miss your activation email?
Monday 09 December 2024, 07:24:47 pm

Login with username, password and session length

CLICK HERE for the The official Endian Roadmap and Issue tracker
14261 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  How to drop an IP address in Endian firewall?
0 Members and 0 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: How to drop an IP address in Endian firewall?  (Read 11015 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.078 seconds with 19 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com