FREEBSD INSTALL GUIDE INDEX

Sections

Home
Getting Started
Installing
Post Install
Internet Access
Network Security
Local Area Network
DHCP Server
System Security
FBSD Basics
Email Services
Ports & Packages
Kernel Customizing
FTP & Telnet
Masquerading as Commercial User

 

 

Home

0.0 Cover Page

0.1 Table of Contents

1.0 Limits of Liability and Disclaimer of Warranty

1.1 Copyright

1.1 Contact

 

Getting Started

1.2 Synopsis

1.3 Installer Prerequisites 

1.4 Introduction

2.0 Preparing PC for FBSD

2.1 Incremental Install Method

2.2 Minimum Hardware Requirements

 

Installing

3.0 Installing FBSD

3.1 ISO CD images

3.2 Using MS/Windows to get ISO CD images

3.3 PC BIOS

3.4 Starting Award BIOS setup utility

3.5 First time changes to PC BIOS

3.6 Loading FBSD to the Hard drive

 

Post Install

4.0 Post Install Configuration

4.1 Root Account

4.2 Gracefully Stopping your System

4.3 Navigating the File System Directory Tree

4.4 Command Line Path Prefix

4.5 How to use the ee editor

4.6 User Login Announcement

4.7 Command Line History

4.8 Keyboard F1 F8 Keys

4.9 FBSD Logs

4.10 Enabling clear tmp directory

4.11 Using mouse copy/paste function

4.11.1 Enabling  2 button mouse copy/paste function

4.11.3 Testing mouse copy/paste function.

4.11.4 Further customizing the mouse arrow pointer

4.12 Scroll lock history

4.13 Assigning a Host name to your FBSD system.

4.14 Hosts File

4.15 Screen Saver

4.16 Basic EMAIL Information

4.17 Time Zone setup

 

Internet Access

5.0 Accessing the Internet

5.1 Cable TV access to the Internet

5.1.1 Installing a PCI NIC

5.1.2 Configuring a cable modem Internet connection

5.1.3 Test your cable modem connectivity

5.2 Products offered by the public telephone company

5.2.1 Analog voice dial up service to your ISP

5.2.2 Analog voice ISDN service

5.2.3 Digital DSL service

5.2.4 Digital leased lines

5.3 Enabling voice phone Modems

5.3.1 PCI Modem Types

5.3.2 How to determine if FBSD found my modem at boot time

5.3.4 External serial modems

5.3.5 Determining if your external serial modem is connected to FBSD

5.3.6 Internal PCI modem

5.3.7 PCI Modem found as <unknown card>

5.3.8 PCI Modem found and moved to sio4

5.3.9 Determining if your internal PCI modem is connected to FBSD

 

5.5 Internet access protocols

5.5.0 User PPP

5.5.1 User PPP NAT function

5.5.2 Configuring User PPP for modem dial out to ISP

5.5.3 Test User PPP dialisp

5.5.4 Enable Dial ISP at boot time

5.5.5 User PPP Filters

5.6 Configuring User PPP to accept inbound modem calls

5.6.1 Inbound ppp.conf statements

5.6.2 Configure Incoming services

5.6.3 Configure Modem to answer call using HAYES Commands

5.6.4 How the Incoming call process works

5.6.5 Testing Incoming call function

5.7 User PPP Callback Feature

5.7.1 Callback Feature on Incoming Calls

5.7.2 Summary of how Incoming callback works

5.7.3 ISP callback Feature

5.7.4 Summary of how ISP callback works

5.8 PPPoE ppp.conf statements for DSL connection

5.9 User PPP Logs

5.10 Stray irq 7 messages

 

Network Security

6.0 Network Security

6.0.1 Firewalls

6.0.2 Firewall Rule Set Types

6.0.3 Firewall Software Applications

 

6.1 IPFILTER (IPF) Firewall

6.1.1 Enabling IPF

6.1.2 Kernel options.

6.1.3 RC.CONF Options

6.2 IPF COMMAND

6.3 IPFSTAT Command 

6.4 IPMON Command

6.4.1 IPMON Logging

6.4.2 Format of Logged Messages

6.5 Building Rule Script 

6.6.IPF Rule Sets

6.6.1 Rule Syntax

6.6.2 Stateful Filtering

6.7 Inclusive  Rule set Example 

6.8 NAT Explanation

6.8.1 IPNAT Command

6.8.2 NAT Rules

6.8.3 How NAT works

6.8.4 Enabling Nat

6.8.5 Nat for very Large Lan

6.8.6 Directing traffic to Lan Servers

6.8.7 FTP Special Nat Handling

6.8.8 FTP Filter rules

 

6.9 IPFIREWALL (IPFW) Firewall

6.9.1 Enabling IPFW

6.9.2 Kernel Options

6.9.3 RC.CONF Options

6.9.4 IPFW Command

 

6.9.4 IPFW Rule Sets

6.9.5 Rule Syntax

6.9.6 Stateful Rule Option

6.9.7 Logging Firewall Messages

6.9.8 Building Rule Script

6.9.9 Stateful Rule Set

6.9.10 Example Inclusive Rule Set

6.10 Stateful + NATD Rule Set

 

6.11 OpenBSD's Packet Filter Firewall

6.11.1 Enabling PF

6.11.2 Kernel Options

6.11.3 RC.CONF Statements

6.11.4 PFCTL Command

6.11.5 PF Rule Sets

6.11.6 Rule Syntax

6.11.7 Stateful Filtering

6.11.8 Nat Explanation

6.11.9 Logging

6.12 Inclusive Rule set Example

 

6.13 Defending Against  Attacks

6.13.1 Know Who Your Attacker is

6.13.2 Stopping Login Attacks

6.13.3 Stopping Web Server Attacks

 

6.14 Example SSH setup

6.14.1 Example Environment Description

6.14.2 Host Setup

6.14.3 FBSD-client Setup

6.14.4 Using Midnight Commander for SFTP

6.14.5 Win-client Setup

6.14.6 Putty Setup

6.14.7 WinSC3 Setup

6.14.8 Fraudulent SSH Login Attempts

 

Local Area Network

7.0 Setting up Local Area Network (LAN)

7.1 Home User LANs

7.2 Topography of a LAN

7.3 Installing the LAN

7.4 LAN private IP address

7.5 Manually Configuring the Gateway

7.6 Manually configuring FBSD LAN PCs

7.7 Manually configuring MS/Windows LAN PCs

 

DHCP Server

8.0 DHCP (Dynamic Host Configuration Protocol)

8.1 What function does DHCP perform?

8.2 DHCP Server

8.3 How DHCP Works

8.4 DHCP Configuration Instructions

8.5 Testing the DHCPD Daemon

8.6 FBSD as a DHCP Client

 

System Security

9.0 FBSD System Security

9.1 Network packet Security options

9.1.1 Sysctl.conf Security Knobs

9.1.2 Secure rc.conf

9.1.3 Secure Kernel Source

9.2 Security Paranoia

9.3 Highest Level of Security Paranoia

9.3.1 Jail facility

9.3.2 rc.conf securelevel option

9.3.3 Encrypting Disk Partitions

 

FBSD Basics

10.0 FBSD Basics 

10.1 Introduction to the manual documentation

10.2 Basic FBSD Commands you will need to know

10.3 Controlling what messages go to what syslog files

10.3.1 LOG rotation and archiving

10.4 Setting System Date and Time

10.5 Capturing screen content to file

10.6 Cron Scheduling Application & System Management Reports

 

10.7 Using the Floppy drive

10.7.1 To format a FBSD file system floppy disk

10.7.2 To create /a floppy mount point

10.7.3 To mount floppy drive

10.7.4 To test floppy drive

10.7.5 To remove floppy from drive

10.7.6 To mount MS/Windows formatted floppy disk  

10.7.7 Easier way to mount MS/Windows floppies                  

10.7.8 To test auto floppy drive mount

10.8 Mounting Cdrom                       

 

10.9 User Account Admin

10.9.1 Configure the pw Command

10.9.2 Examples of pw command usage

10.9.3 pw command embedded in a script

10.9.4 passwd command

10.9.5 chpass command

10.9.6 Super User

10.10 Permissions

10.10.1 Managing Permissions

10.10 2 Change file permissions

10.10.3 Change file owner

10.10.4 Change file group

 

10.11 Managing your configuration changes

10.11.1 Personal Scripts

10.11.2 Script to Backup /custom to floppy

10.11.3 Script to Restore floppy to /custom

10.12 Burncd and .iso files

10.12.1 ISO FTP download script

10.12.2 Burncd command

10.13 Technical Support

 

10.14 Boot Time Splash Screen

10.14.1 Splash Screen Function

10.14.2  Enabling the Splash Screen Function

10.14.3 Sample Splash Screen

 

                       

Email Services

11.0 Email Service

11.1 Commercial, non-Commercial sendmail Users

11.2 Configure Sendmail to send enail through your ISP

11.3 POP3 Email Server

11.4 Qpopper Application

11.4.1 Qpopper Installation Instructions

11.5 Configuring Microsoft Outlook for FBSD mail service

 

11.6 Fetchmail / Getting your ISP mail to FBSD

11.6.1 Fetchmail Installation Instructions

11.6.2 Testing Fetchmail

11.6.3 Boot Time Enable

 

11.8 Email Reading

11.8.1 Using the mail command

11.8.2 Checking your mail

11.8.3 Creating / sending your mail

11.8.4 Mbox File

11.8.5 Mail sub-commands

11.8.6 Replying to or creating new mail

 

11.9 Email Vacation Auto Responder

11.9.1 How vacation process works

11.9.2 .vacation msg file

11.9.3 .vacation.db File

11.9.4 .forward File

11.9.5 SYNTAX of the command

11.9.6 Procedure to Activate

 

Ports & Packages

12.0 Ports & Packages

12.1 Determining what to install

12.2 Finding the Application Download Name

12.3 Package Benefits

12.4 Ports Benefits

12.5 Using the Package Collection

12.5.1 Alternate Access Method to package Collection

 

12.6 Using the Port Collection

12.6.1 Downloading make files for single port

12.6.2 Fetch Port Config Files Script

12.7 Ports/Package Install History Database Commands

12.8 Port Make Commands

 

Kernel Customizing

13.0 Kernel Customizing

13.1 Kernel Compile Steps

13.2 Managing Multiple Kernels

13.4 Replacing /kernel with saved /kernel

13.5 Fix System Boot problems

13.6 Single user mode

13.7 Forgot Root password

13.8 New Kernel won't boot

 

FTP & Telnet

14.0 FTP & Telnet

14.1 Inetd, FBSD's Super server

14.2 Configure Insecure FTP

14.3 Anonymous FTP Server

14.4 Quotas

14.5 Telnet

14.6 Secure FTP & Telnet

 

Masquerading as Commercial User

15.0 Masquerading as a Commercial User

15.2 Verifying ports 25 & 80 are open

15.3 Masquerading Using ZoneEdit

15.4 Configurating ZoneEdit