How to Un-ban an IP Blocked by Fail2Ban

When an IP is banned by Fail2Ban and you want to un-ban that IP, the command you need to run is:

sudo fail2ban-client set <jailname> unbanip ipaddress

You can get the jailname by running:

sudo fail2ban-client status

If you want to find what IPs are banned by Fail2Ban, you can check the IPTABLES by running:

sudo iptables -L -n

An example output would be:

Chain f2b-sshd (1 references)
target     prot opt source               destination
REJECT     all  --  188.29.164.197       0.0.0.0/0            reject-with icmp-p  ort-unreachable(1 references

To unban IP 188.29.164.197 from the sshd jail, the command would be:

sudo fail2ban-client set sshd unbanip 188.29.164.197

Billion BiPac 7800n – O2 Broadband ADSL to Sky Broadband MER Migration

If you own a Billion 7800n router then you will know where these settings go:

Main Port: ADSL
Protocol: PPPoA (RFC2364, PPP over AAL5)
[sometimes ATM instead of AAL5]

VPI / VCI: 0 / 38
Username: install@o2broadband.co.uk
[this is for both O2 and BEthere customers]

Password: [leave blank]
Encap. Method: VC/MUX
Auth. Protocol: Auto
IP Address: 0.0.0.0
Obtain DNS Automatically: enabled
Primary DNS: if you leave them as there are then they will automatically change as long as obtain DNS Automatically is enabled

MTU: 1492

MySQL 5 Commands

shell> sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
(Enter your password, if necessary)
(Press Control-D or enter "exit" to exit the shell)

You might want to add aliases to your shell’s resource file to make it easier to access commonly used programs such as mysql and mysqladmin from the command line. The syntax for bash is:

alias mysql=/usr/local/mysql/bin/mysql
alias mysqladmin=/usr/local/mysql/bin/mysqladmin