Qmail, Courier Imap (with SSL), Vpopmail, and Squirrelmail
Written by dotc0m and last updated on 05/08/2004 - [ openbsd ]

Hosting your own e-mail is a handy thing. This guide will show you how to set up a secure mail server using qmail, vpopmail, qmailAdmin for user management, and smtp-auth so only valid users can send mail.

Build a Samba PDC with LDAP backend
Written by Johan and last updated on 12/20/2008 - [ freebsd ]

Build a Samba PDC on FreeBSD with a ldap backend. This will not let you authenticate ssh users just a plain samba server for your windows clients.

OpenVPN 2
Written by Bert JW Regeer and last updated on 12/29/2007 - [ freebsd ]

This guide will help you set up OpenVPN to allow remote users to securely connect to the internal LAN or use the VPN tunnel as an endpoint when on insecure wireless access points, allowing safe transmission of data without worries of being sniffed or intercepted.

Configuring IPSec VPN Connection Between FreeBSD and OpenBSD
Written by Cezary Morga and last updated on 08/03/2007 - [ freebsd | openbsd ]

Although there are some good tutorials on setting VPN connections using IPSec in FreeBSD-to-FreeBSD or OpenBSD-to-OpenBSD configurations, only tutorials on setting FreeBSD-to-OpenBSD IPSec tunnels are at least partly outdated, mostly due to changes introduced in OpenBSD 3.8. In this tutorial I'll demonstrate how to configure such a VPN connection (tunneling mode) using racoon and isakmpd IKE daemons along with x509 certificates. The IP addresses used throughout this tutorial are: - gateway A running FreeBSD with internal IP address: 192.168.0.1, and external IP: 10.0.0.1, - gateway B running OpenBSD with internal IP address: 192.168.1.1, and external IP: 10.0.0.2. For the purpose of this tutorial I have used FreeBSD 6.2-RELEASE and OpenBSD 4.1-RELEASE operating systems, but the configuration covered here should be applicable in any reasonably recent version as well.

Enable setuid In Perl
Written by Bill and last updated on 10/04/2006 - [ freebsd ]

There may be times you would want to run perl scripts as non-root users. This offers more security to your system and this guide will show you how to enable perl to use setuid.

IPFW Firewall Explained
Written by alfatrion and last updated on 09/03/2005 - [ freebsd ]

This guide helps you setup a simple firewall for any FreeBSD version (recent) that can load the firewall module.

Setting up Snort and Snortreport
Written by Jon LaBass and last updated on 10/11/2004 - [ freebsd ]

Any private network should be running some sort of Intrusion Detection System for system adminstrators to watch for any malicious traffic. In this guide you will learn how to set up snort and one of its reporting utilities, snortreport.

Protect Apache Directories
Written by Jon LaBass and last updated on 10/21/2003 - [ freebsd ]

In order to password protect a website, or part of a website, we need to create a .htaccess file and a .htpasswd file. These are the files that Apache reads from to see who is allowed in the site. This guide will show you how to setup a website directory with password protection.

Hardening FreeBSD
Written by Jon LaBass and last updated on 06/27/2005 - [ freebsd ]

After a fresh install, it is important to harden the security on a server before it hits your network for use. Not only making configuration changes aid in the security of your box, but there are some practical rules to abide by. These are some hardening tips to make your FreeBSD box more secure and will apply to both the 5.x and 4.x branches, but I will assume you are running 5.x. If a 4.x change is different, I will note it. Please do not apply these changes carelessly on a production server. Make sure you test, test, test on a separate box to note the effects of the changes.

Apache+SSL, PHP, and MySQL
Written by Jon LaBass and last updated on 08/21/2010 - [ freebsd ]

I'm sure many of you have been wondering how people host secure sites using Secure Sockets Layer (SSL). This guide will show you how to set up a web server with SSL, PHP, and MySQL support.

Setting Up Screen
Written by ShadowBumble and last updated on 10/17/2006 - [ freebsd ]

This guide is about a utility that is called Screen. It's in the ports collection of FreeBSD and it lets you setup a virtual Shell enviroment which you can connect and reconnect to even when you where totally disconnected or turned off the client PC. I use it a lot for compiling and for programs I cannot fork to the background on remote systems.

Setting Up .screenrc
Written by Patrick and last updated on 09/24/2007 - [ freebsd ]

Messing with screen, making it work for you!

Copyright 2003 - 2012 BSD Guides.  All rights reserved.

About | Terms of Use | Privacy | Contact