拿掉fail2ban加在iptables的IP? - Linux

By Edwina
at 2016-03-25T21:30
at 2016-03-25T21:30
Table of Contents
今天在測試fail2ban的一些指令
在移除被誤判的IP時碰到了問題
底下是我想從iptables規則中移除的條件
Chain f2b-default (2 references)
target prot opt source destination
REJECT all -- 61.216.84.147 0.0.0.0/0 reject-with
icmp-port-unreachable
我用這個指令
iptables -D f2b-default -s 61.216.84.147 -j DROP
會發生這個錯誤
iptables: Bad rule (does a matching rule exist in that chain?).
可是我chain沒打錯啊?條件應該也沒有問題?
那為何不讓我刪除啊?還是一定要用fail2ban的指令移除才行?
--
作者 cutty (兜兜) 看板 EAseries
標題 [討論] Game Of Thrones S5 EP10 (雷) 本季完結
--
在移除被誤判的IP時碰到了問題
底下是我想從iptables規則中移除的條件
Chain f2b-default (2 references)
target prot opt source destination
REJECT all -- 61.216.84.147 0.0.0.0/0 reject-with
icmp-port-unreachable
我用這個指令
iptables -D f2b-default -s 61.216.84.147 -j DROP
會發生這個錯誤
iptables: Bad rule (does a matching rule exist in that chain?).
可是我chain沒打錯啊?條件應該也沒有問題?
那為何不讓我刪除啊?還是一定要用fail2ban的指令移除才行?
--
作者 cutty (兜兜) 看板 EAseries
標題 [討論] Game Of Thrones S5 EP10 (雷) 本季完結
推 cul287: 狼家的孩子沒特異功能真的難以生存阿06/15 22:58
推 BranStark: Sansa蠢成這樣算特異功能吧...06/15 23:03
→ divinemonkey: 樓上,好歹她是你姐06/15 23:05
推 AWinker: 樓樓上不要這樣對姊姊06/15 23:07
--
Tags:
Linux
All Comments

By Hedy
at 2016-03-27T02:57
at 2016-03-27T02:57

By Tom
at 2016-03-27T05:32
at 2016-03-27T05:32

By Rebecca
at 2016-03-30T20:29
at 2016-03-30T20:29

By Jessica
at 2016-04-02T18:09
at 2016-04-02T18:09

By Noah
at 2016-04-03T02:49
at 2016-04-03T02:49

By Edwina
at 2016-04-04T09:37
at 2016-04-04T09:37

By Annie
at 2016-04-07T14:43
at 2016-04-07T14:43

By Iris
at 2016-04-08T22:45
at 2016-04-08T22:45

By Ethan
at 2016-04-13T03:36
at 2016-04-13T03:36
Related Posts
關掉terminal則service就停掉了嗎

By Oliver
at 2016-03-25T16:49
at 2016-03-25T16:49
screenshot問題

By Tracy
at 2016-03-25T11:59
at 2016-03-25T11:59
新手發問 Ubuntu 12.04 卡在開機畫面

By John
at 2016-03-25T10:40
at 2016-03-25T10:40
請問CentOS 6.7 架站問題

By Ida
at 2016-03-24T21:23
at 2016-03-24T21:23
軟體安裝問題請教

By Freda
at 2016-03-24T15:47
at 2016-03-24T15:47