Getting FreeBSD Jail to Run

In this short article, I discuss the way to run a full-blown FreeBSD jail, with some common tunings to get it more "normal". Assumptions I assume the host has two network interfaces.  The "vtnet0" is Internet-facing and "vtnet1" is the intranet, where the jail will be running on.  This way, the jail does not have … Continue reading Getting FreeBSD Jail to Run

Advertisements

Network File System with Firewall in FreeBSD

Network file system nfs(8) in FreeBSD is built on top of rpc(3) infrastructure where rpcbind(8) daemon is responsible binding the services for the clients.  Together with the companion services rpc.lockd(8), rpc.statd(8), and mountd(8), providing the total service with a firewall is tricky since the ports are different all the time.  In addition, sometimes the services are better to … Continue reading Network File System with Firewall in FreeBSD

Simple Experiment with Jails and Resource Control

While it has been a good practise to have one computer doing one role, it has also been  asked if a computer can be split for multiple functions as if it is a group of computers.  One would immediately answer virtual machines, but it can be too heavy and complicated, say like having virtual machines … Continue reading Simple Experiment with Jails and Resource Control

Proxy Server with FreeBSD and Squid (Part 2)

Previously, I discussed how to configure a Squid proxy.  The proxy is opaque that the web browsers have to be configured.  I continue to explain how a proxy can be made transparent; when web browsers go to the Internet, the requests gets intercepted and be processed by the proxy.  Like before, I use PF firewall … Continue reading Proxy Server with FreeBSD and Squid (Part 2)

Highly Available Web Pages, Apache and PHP as an Example

Several weeks ago, I discussed how to have a highly available file storage and a highly available relational database.  With a robust supply of file system and database service, we can stack more services on top.  Today, I take Apache and PHP as an example how to have a highly available web server.  As usual, … Continue reading Highly Available Web Pages, Apache and PHP as an Example

Appending Distribution Files after Installing FreeBSD

Previously, it was discussed how to install FreeBSD with the installer.  In the Question 4, The installer allows administrators to select what distribution to be installed – 32-bit compatibility libraries, source code, debug symbols, etc. Sometimes, maybe due to a mistaken omission, or maybe due to a new purpose, more distribution files have to be … Continue reading Appending Distribution Files after Installing FreeBSD