Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Pfsense firewall

Shulou Source: shulou.com Published: 2022-06-01 06:46:50 10月03日 Update

PfSense is a free and open source firewall and router software under FreeBSD, derived from the m0n0wall operating system, is a powerful, flexible firewall and routing platform. And there are Chinese hobby community forums http://www.m0n0china.org/ and http://bbs.tl20.com

Http://forum.pfsense.org/index.php/board,55.0.html

I. installation

1. Download live cd or img files from the official website for writing and installation

Http://www.pfsense.org/index.php@option=com_content&task=view&id=58&Itemid=46.html

This article downloads pfSense-2.0.3-RELEASE-4g-i386-nanobsd_vga-upgrade.img.gz for hard disk writing and installation

Download http://m0n0.ch/wall/physdiskwrite.php from the write tool under windows

Use ordinary PC with at least two network cards

2. Connect the hard disk that needs to install pfsense to the computer, decompress the downloaded writing tool, and put the img.gz file of pfsense into the decompressed directory.

Start-- > run-- > CMD

Cd to the decompression directory

Run the writer

C:\ > physdiskwrite.exe-u pfSense-2.0.3-RELEASE-4g-i386-nanobsd_vga-upgrade.img.gz

Select the hard disk to be written after the enter is determined.

Physdiskwrite v0.5.1 by Manuel Kasper Searching for physical drives...Information for\\.\ PhysicalDrive0: Windows: cyl: 60801 tpc: 255 spt: 63 C/H/S: 16383 Accord 63 Model: WDC WD5000AAKX-0000000 Serial number: WD-WCC2EJ600000 Firmware rev.: 19.01H19Information for\\.\ PhysicalDrive1: Windows: cyl: 121601 Tpc: 255 spt: 63 C/H/S: 16383 16 Model 63 Model: ST3100050000 Serial number: 6VPA0000 Firmware rev.: CC46Which disk do you want to write? (0.. 1)

Be sure to choose the right hard drive, otherwise the data is gone. Enter after the selection, and then you can write it. After waiting for the writing to be completed, you can install it on the computer and use it.

3. Startup settings

After boot, you can see that there are three network cards, labeled em0, em1, em2.

This step prompts whether VLAN needs to be enabled (the network card needs to support 802.1Q protocol). It is not enabled by default. Type n

Select the network card you need as the WAN port, and choose em0 here

Select the network card you need as the LAN port, and choose em1 here

Select the network card you need as the additional interface 1 (OPT1), and choose em2 here

Select the network card you need as additional interface 2 (OPT2). As all the network cards have been assigned, enter directly and skip.

To confirm whether you want to save it into effect, type y

When you come to this interface, it shows that the installation has been successful.

You can type 2 to set LAN port IP

After setting, open http://192.168.1.1 under the browser to set other parameters.

Tags: Select network card hard disk firewall fire protection tools interface file computer directory routing run attach powerful ordinary successful operating system function powerful parameter Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Shulou Tech Info NVidia Xiaomi Docker