OpenVPN 2

General Information

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.

[Read more...]

SSHd with FreeBSD 5.3

General Information

I ran FreeBSD 5.2 for a long time with the default SSHd and then decided to upgrade to 5.3-STABLE. I normally use SecureCRT as my SSH client and I like password authentication. After I upgraded to 5.3, I could no longer logon using password authentication and I had to switch to keyboard interactive. This disallowed me from logging in with sftp from remote locations which really bummed me out. Here is the fix I found.

[Read more...]

Configuring IPSec VPN Connection Between FreeBSD and OpenBSD

General Information

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.

[Read more...]

Enterprise Installation of DNS and BIND

General Information

DNS is at the very core of the Internet infrastructure and stands for Domain Name Server. DNS is a distributed, hierarchical database without which we would be typing IP addresses in our browsers instead of something like www.example.com. BIND can serve 1000s of host names and probably 1000s of zones. This how-to is aimed at that kind of installation. I will describe installing, configuring and maintaining BIND on a fresh FreeBSD installation in a secure chroot jail. I will also show how to set up zone files for one zone, multiple zones and a slave for other zones. I will also describe how to maintain your zones in a way that is easy. I will also include some tips. I will not cover caching or forwarding name servers. This document is meant to get you started — it is not meant to be comprehensive.

[Read more...]

Enable and Disable Anonymous FTP

anonftp01

General Information

This guide describes the steps for both enabling and disabling anonymous FTP.

[Read more...]

Setting Own CVS Repository

General Information

In this guide I’d like to present a short info on setting own CVS repository. It has been written with an assumption that the repository will be accessed locally and through the SSH connection. Using ssh might require setting $CVS_RSH=ssh environment variable on client system.

[Read more...]

Squid Proxy Server

General Information

First posted on Overridersworld.

This document will describe how to get a Squid Proxy Server up and running for your LAN using FreeBSD and Squid. The info on the configuration file is by no means comprehensive. There is a lot that you might need to do differently, but I am running pretty much the same installation for around 100 users and it has served me very well so far in my situation. Also, I am not going into detail configuring the cache manager here. Just plain Squid Proxy Caching for your LAN.

[Read more...]

Using Subversion for Collaborative Development OpenBSD

General Information

This is a guide on how to setup an OpenBSD 3.9 based Subversion 1.40 and Apache 2.2.X Source Code Respository server that uses the fsfs db format with no authentication/security. Should you need Authentication you can read the FreeBSD Subversion guide on this site until I create the 4.0 based guide. This is not a definitive guide but a how to. Considering this, the methods used here may not be the best ones or the most correct and assume you have some knowledge of unix. If you have any updates and such, please e-mail them to me.

[Read more...]

Build a Home-Office Router Using FreeBSD and PF

General Information

This guide will outline the basic steps for building a home-office router for use with a cable modem or DSL line using FreeBSD and Packet Filter (PF). It will cover updating FreeBSD, building a new kernel, and installing and configuring a DHCP server and DNS server to support a small internal network.

[Read more...]

djbdns dnscache

General Information

This guide will walk you through setting up a DJB dnscache resolver.

[Read more...]