Deleted IPtables Line

Status
Not open for further replies.

rnpsh19

New Member
Jan 27, 2019
23
2
3
44
Quick question. I accidentally deleted a line number out of iptables -L

Line 11
f2b-fusionpbx all -- 0.0.0.0/0 0.0.0.0/0

What does it do, and how do I add it back in. I have no saved or flushed anything, realized the mistake then paused.
 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,498
413
83
Iptables rules that start with "f2b" are normally rules added by the fail2ban service. The easiest way to fix this is to stop and then start the fail2ban service:
Code:
service fail2ban stop
service fail2ban start

Note: Once re-started, fail2ban may not re-create the rules until it needs to use them.
 
Status
Not open for further replies.