راه اندازی فایروال pfsense
Contents
- 1 Summary
-
2 Details
- 2.1 Step 1, Hardware
- 2.2 Step 2, Select and download your version
- 2.3 Step 3, Boot your computer from the CD
- 2.4 Step 4, Initial pfSense configuration
- 2.5 Step 5, Install to hard drive
- 2.6 Step 6, Access web interface
Summary
This guide will help you install pfSense using the Live CD ISO image. It will be a basic, 2 NIC, no VLAN installation.
Details
Step 1, Hardware
Minimum hardware requirements:
- Pentium II
- 128MB RAM
- Hard Drive
- Optical Drive (For installation)
- 2 Network Interface Cards
See Hardware_requirements for more information.
Step 2, Select and download your version
Go to the download section of the pfSense website. Select a mirror server. You should choose a location that is close to you. When you click on your mirror server, it will present you with a list of files. The file you want will be either pfSense-LiveCD-2.1-RELEASE-amd64.iso.gz for a 64bit computer or pfSense-LiveCD-2.1-RELEASE-i386.iso.gz for a 32bit computer.
You should also download the .md5 or .sha256 file to allow you to verify the hash of the file you downloaded. This will help ensure the file hasn't been tampered with, and had no errors while downloading.
Once the download is complete, verify either the md5 or sha256 hash, then decompress the .gz file and burn the ISO image to a CD.
Step 3, Boot your computer from the CD
Ensure your BIOS is set to boot from the optical drive, insert the CD into the drive.
Reboot the computer and watch the FreeBSD operating system boot up your machine. When you see the screen below, let it boot to the default option 1.
Note: If you want to read the boot process, wait until you get to the prompt
Do you want to set up VLANs now [y|n]?
press Scroll Lock on your keyboard and use Page Up/Page Down to navigate the log.
Step 4, Initial pfSense configuration
The boot process is finished when you see
Do you want to set up VLANs now [y|n]?
Type "n" and hit enter.
The next prompt will be
Enter the WAN interface or 'a' for auto-detection?
The WAN interface will be the interface that connects to your internet connection (e.g. Cable or DSL modem). If you don't know which interface is which, disconnect both network cables from your computer. Type "a" and hit enter. You will get the prompt
Connect the WAN interface now and make sure that the link is up. Then press ENTER to continue.
If your internet connection is on, connect the network cable from that device, to the network interface card you want to use as your WAN interface. It will detect a link status change on the card and assign it to WAN.
You will then see this prompt.
Enter the LAN interface or 'a' for auto-detection? NOTE: this enables full Firewalling/NAT mode. (or nothing if finished)
Plug in the network cable to your switch. pfSense will detect the link up and assign this network interface as the LAN interface.
You will then see
Enter the Optional 1 interface name or 'a' for auto-detection? (or nothing if finished)
press Enter to finish.
It then display your assignment and prompt you to continue
The interfaces will be assigned as follows: WAN -> interfacename LAN -> interfacename Do you want to proceed [y|n]?
Type "y" and then hit Enter.
pfSense will begin configuring and booting itself.
When complete, you will see this screen.
Step 5, Install to hard drive
At this point, pfSense should function. However, it hasn't been installed to your hard drive, and if you reboot your settings will be lost. To install to your hard drive, type "99" on your keyboard, and hit enter. This will begin the installer.
The first screen will be "Configure Console". The default settings should be fine. Navigate with your arrow keys down to "Accept these settings" and hit enter.
The second screen will be "Select Task", and the first selection of "Quick/Easy Install" will be fine.
It will ask "Are you SURE?", because the quick install will erase the hard drive and install the default settings. Click OK.
It will go through the process of partitioning, formatting and writing to the hard drive.
It will prompt you which kernel you want to use. For this install, you want the "Standard Kernel".
It will then prompt you to reboot. Reboot now.
The shutdown process will complete, then the computer will reboot and begin the bootup sequence again. No interaction is necessary and bootup is complete when you see a screen like this:
Step 6, Access web interface
To access the web interface, on a different computer in a web browser, go to http://192.168.1.1. This will load up the web interface. The default username is "admin", and the password is "pfSense".
NEED TO ADD WEB INTERFACE INITIAL SETUP HERE
- ۹۲/۰۷/۱۴