Requirements
It is necessary to have two network cards:
- One with an Internet connection (External type)
- One connected to a local network (Internal type)
![](https://blog.wuibaille.fr/wp-content/uploads/2024/06/image-193.png)
Download
- Go to Download pfSense Community Edition and select download.
![](https://blog.wuibaille.fr/wp-content/uploads/2024/06/image-174.png)
Create Virtual Machine
- Extract the .gz file using 7-Zip.
- Create a new virtual machine.
![](https://blog.wuibaille.fr/wp-content/uploads/2024/06/image-175.png)
- Select Gen 2.
- Allocate 1 GB of RAM.
![](https://blog.wuibaille.fr/wp-content/uploads/2024/06/image-177.png)
- Select one network card (with Internet connection).
- Select the ISO file.
![](https://blog.wuibaille.fr/wp-content/uploads/2024/06/image-179.png)
- Disable Secure Boot.
- Add a second network card.
![](https://blog.wuibaille.fr/wp-content/uploads/2024/06/image-182.png)
Install pfSense
- Start the virtual machine and select ‘Install’.
- Assign the Internet Network Card (first network card) and then the internal card (second network card).
- Two network cards have been assigned.
![](https://blog.wuibaille.fr/wp-content/uploads/2024/06/Capture-decran-2024-06-23-125102.png)
- Install the Community Edition (CE) of pfSense.
![](https://blog.wuibaille.fr/wp-content/uploads/2024/06/image-187.png)
- Continue with the installation and select a stable version of pfSense.
- The installation of pfSense is fast. Click ‘OK’ after the end of the installation.
- After restarting, configure the WAN and LAN interfaces.
![](https://blog.wuibaille.fr/wp-content/uploads/2024/06/image-198.png)
- You can access the pfSense interface using the IP address of hn1.
![](https://blog.wuibaille.fr/wp-content/uploads/2024/06/image-199.png)
First Configuration
- Connect to the website via hn1 using a browser.
- Log in (default credentials: admin / pfsense).
- Change the admin password.
- In the general configuration, set the DNS to use the AD server and select the Paris time zone.
- Temporarily authorize all traffic.
![](https://blog.wuibaille.fr/wp-content/uploads/2024/06/image-205.png)
Disable DHCP Server
- Navigate to Services, select DHCP Server, and disable the DHCP server.
- Save the changes.
![](https://blog.wuibaille.fr/wp-content/uploads/2024/06/image-207.png)
0 Comments