IndianWebPortal.com

Something Different In Linux

Home » Installation » Install BFD on the server

Install BFD on the server

Posted by Rishikesh Vispute Categories: Installation

Q>Here is a guide to install BFD on the server with APF preconfigured :

Ans>Login to your server through SSH as root user.

Step 1: Preparing for Installation
———————————————
cd /usr/local/src

wget http://www.rfxnetworks.com/downloads/bfd-current.tar.gz

tar -xvzf bfd-current.tar.gz

cd bfd-0.7

———————————————

Step 2: Installation
———————————————
./install.sh

You will receive a message saying it has been installed

.: BFD installed
Install path: /usr/local/bfd
Config path: /usr/local/bfd/conf.bfd
Executable path: /usr/local/sbin/bfd

———————————————

Step 3: Configuration

Open the configuration file in your favorite editor mine is nano .. simple n sweet..
———————————————

nano /usr/local/bfd/conf.bfd
———————————————
Enable brute force hack attempt alerts:

Find: ALERT_USR=”0″ CHANGE TO: ALERT_USR=”1″

Find: EMAIL_USR=”root” CHANGE TO: EMAIL_USR=”your@yourdomain.com”

Save the changes: Ctrl+X then Y

———————————————

Prevent locking yourself out!
———————————————
nano -w /usr/local/bfd/ignore.hosts and add our IP

72.36.226.130
———————————————
Save the changes: Ctrl+X then Y

BFD uses APF’ cli insert feature
and as such will override any allow_hosts.rules entries users have in-place.
So be sure to add your trusted ip addresses to the ignore file to prevent
locking yourself out.

———————————————

Step 4: Start BFD!
———————————————
/usr/local/sbin/bfd -s
———————————————


Popular Posts

remove index.php fro

How to remove index.php from url in magento Ans : If you ...

PHP-Java bridge on p

  What is php-java bridge? The php-java bridge is the php ...

Set expiration for y

If you want to set the expiration to your site ...

Warning: Parameter 1

Error: Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a ...

domain pointing to e

If you domain uses external MX record and it is ...