How To Configure A pfSense 2.0 Cluster Using CARP

How To Configure A pfSense 2.0 Cluster Using CARP

How To Configure A pfSense 2.0 Cluster Using CARPIn this HowTo I will show you how to configure a pfSense 2.0 Cluster using CARP Failover. pfSense is quite a advanced (open-source) firewall being used everywhere from homes to enterprise level networks, I have been playing around with pfsense now for the last 3 months and to be honest I am not looking back, it is packed full of features and can be deployed easily within minutes depending on your requirements. RequirementsYou will need two identical computers, with 3 network cards minimum (if these firewalls are going to be on EDGE (front-line f

Read More »
How To Use pfSense To Load Balance Your Web Servers

How To Use pfSense To Load Balance Your Web Servers

How To Use pfSense To Load Balance Your Web ServersIn this HowTo I will show you how to configure pfSense 2.0 as a load balancer for your web servers. This HowTo assumes that you already have a pfSense box and at least 2 Apache servers installed and running on your network, and that you have some pfSense knowledge. Requirements1 Box for pfSense 2.0 installation (if this is your edge firewall I would recommend a physical machine).Minimum of 2 Apache2 servers (these can be virtual).Have your Apache servers configured to sync web files some how (rsync/corosync or another option of keeping files u

Read More »

AVG Antivirus For Linux/FreeBSD Plus Postfix Mail Server

AVG Antivirus For Linux/FreeBSD Plus Postfix Mail ServerThis document describes how to deploy AVG Antivirus for Linux/FreeBSD to a Postfix mail server.
It is usable for AVG version 8.5, 10 and 2012.Requirements1) Linux or FreeBSD x86 or x86_64 with x32 compatible libraries. (See /opt/avg/av/doc/README.)2) Configured Postfix Mail server.3) Correct HW configuration for AVG:CPU: i686 or amd64 on 800 MHzMem: 512 MB, 1GB is recommendedHDD: 500 MB of free space Installation1) Download correct package from AVG site:Trial: http://www.avg.com/cz-cs/download.prd-trialbFree: http://free.avg.com/cz-cs/sta

Read More »

The Perfect Database Server: Firebird 2.5.1 And FreeBSD 9

The Perfect Database Server: Firebird 2.5.1 And FreeBSD 9Here is the guide on installing Firebird 2.5.1 from FreeBSD 9 Ports and
creating your first test database; also we show you how to install
Flamerobin GUI (administration tool) and the PHP driver for it. This was tested on fresh FreeBSD 9 on a kvm-linux virtual machine.
Download a compressed snapshot of the Ports Collection into /var/db/portsnap.# portsnap fetchOr update it.
If you are running Portsnap for the first time, extract the snapshot into /usr/ports:# portsnap extractIf you already have a populated /usr/ports directory and you ar

Read More »

AVG Antivirus For Linux/FreeBSD Plus Sendmail Mail Server

AVG Antivirus For Linux/FreeBSD Plus Sendmail Mail ServerThis document describes how to deploy AVG Antivirus for Linux/FreeBSD to the Sendmail mail server.
It is usable for AVG version 8.5, 10 and 2012.Requirements1) Linux or FreeBSD x86 or x86_64 with x32 compatible libraries. (See /opt/avg/av/doc/README.)2) Configured Postfix Mail server.3) Correct HW configuration for AVG:CPU: i686 or amd64 on 800 MHzMem: 512 MB, 1GB is recommendedHDD: 500 MB of free space Installation1) Download correct package from AVG site:Trial: http://www.avg.com/cz-cs/download.prd-trialbFree: http://free.avg.com/cz-cs

Read More »

AVG Antivirus For Linux/FreeBSD Plus Qmail Mail Server

AVG Antivirus For Linux/FreeBSD Plus Qmail Mail ServerThis document describes how to deploy AVG Antivirus for Linux/FreeBSD to the Qmail mail server.
It is usable for AVG version 8.5, 10 and 2012.Requirements1) Linux or FreeBSD x86 or x86_64 with x32 compatible libraries. (See /opt/avg/av/doc/README.)2) Configured Postfix Mail server.3) Correct HW configuration for AVG:CPU: i686 or amd64 on 800 MHzMem: 512 MB, 1GB is recommendedHDD: 500 MB of free space Installation1) Download correct package from AVG site:Trial: http://www.avg.com/cz-cs/download.prd-trialbFree: http://free.avg.com/cz-cs/stahn

Read More »
pfSense – Squid + Squidguard / Traffic Shapping Tutorial

pfSense – Squid + Squidguard / Traffic Shapping Tutorial

pfSense – Squid + Squidguard / Traffic Shapping TutorialIn this tutorial I will show you how to set up pfSense 2.0.1 up as an Internet Gateway with Squid Proxy / Squidguard Filtering. I will also show that you have to configure some extra features of pfSense like traffic shapping with squid. This type of configuration would be useful for people who want to set up wireless hot spots or Internet cafe’s etc. RequirementsThis tutorial assumes that you already have a pfsense (version 2.0.1 Minimum) installation running with your network interfaces configured and basic firewall rules configured. Ins

Read More »

The Perfect Database Server: Firebird 2.5.3 on FreeBSD 10

The Perfect Database Server: Firebird 2.5.3 And FreeBSD 10Here is the guide on installing Firebird 2.5.3 from FreeBSD 10 Ports and creating your first test database; also we show you how to install Flamerobin GUI (administration tool) and the PHP driver for it. This was tested on fresh FreeBSD 10 on a kvm-linux virtual machine. Download a compressed snapshot of the Ports Collection into /var/db/portsnap.portsnap fetchOr update it. If you are running Portsnap for the first time, extract the snapshot into /usr/ports:portsnap extractIf you already have a populated /usr/ports directory and you are

Read More »
Shell Scripting Part V: Functions in Bash

Shell Scripting Part V: Functions in Bash

Shell Scripting Part V: Functions in BashHi! Welcome to HowToForge’s shell scripting tutorial series. If you want to read the previous releases of the tutorial feel free to click here for part1, part2, part3 and part4 of the tutorial. In this part, you will learn how to efficiently structure your scripts by creating functions. By the end of this tutorial, you will be able to know how to create functions in the Linux Bash Shell, pass parameters to your functions and return some values from a function to your main code. Let’s get started!IntroductionA function, also known as a subroutine in prog

Read More »
OpenSSH Security Best Practices

OpenSSH Security Best Practices

OpenSSH Security Best PracticesSSH (Secure Shell) is a cryptographic network protocol for initiating text-based shell sessions on remote machines in a secure way.OpenSSH is the standard SSH client and server used by most Linux Distributions. It is a connectivity tool that most administrators rely on to work on their Linux and *BSD servers. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks. So in other words “OpenSSH ensures that the connection to your server is secure”. See Wikipedia article for a detailed excurse

Read More »