NDC & PKI
[Day 6] 4. Installing and Configuring pfSense with Debian Machines
D
DITISS AdminSetup Requirements
- 3 Machines:
- Debian 1 (IP: 192.168.40.10)
- Debian 2 (IP: 192.168.50.10)
- pfSense (IP: 192.168.40.101 & 192.168.50.101)
Setup Requirements
The objective of this lab is to set up and configure a pfSense firewall to manage traffic between two networks (LAN and WAN) and ensure communication between two Debian machines connected via the firewall.
Steps to Install pfSense
-
Create a New Machine in VMware
- Select the pfSense ISO file.
- OS type: FreeBSD (UNIX Flavor).
- Allocate:
- 20 GB Storage
- 4 GB RAM
- Assign two network adapters:
- VMNET4 for LAN. (192.168.40.x)
- VMNET5 for WAN. (192.168.50.x)
-
Install pfSense
- Boot the machine and install pfSense with default options.
- Skip manual configuration (choose No).
- Reboot once the installation is complete.
Configuring Interfaces
-
Assign Interfaces
- Press to assign interfaces.
1 - VLAN Setup: Select No.
- Assign network adapters based on their MAC addresses:
- WAN → Adapter with VMNET5 MAC.
- LAN → Adapter with VMNET4 MAC.
- Press
-
Set IP Addresses for Interfaces
- Press to configure interface IPs.
2
WAN Configuration:
- Number of interfaces: 1.
- DHCP: No (Static IP).
- Assign:
- IP Address (e.g., 192.168.50.101).
- Subnet Mask (e.g., 24).
- Gateway: Leave blank.
- IPv6: No.
- HTTP: Yes.
LAN Configuration:
- Number of interfaces: 2.
- DHCP: No.
- Assign:
- IP Address (e.g., 192.168.40.101).
- Subnet Mask (e.g., 24).
- Gateway: No.
- IPv6: No.
- HTTP: Yes.
- Press
Finalize pfSense Setup
-
Verify Configuration
- Check the assigned IPs on Debian 1 and Debian 2.
- Ensure they are in the correct subnets (40.x for LAN, 50.x for WAN).
- Test pinging between the machines (this will fail initially).
-
Access pfSense Web GUI
- Press in pfSense for interface configuration.
2 - Note the displayed IP address (e.g., 192.168.40.101 for LAN).
- Access the Web GUI from a browser: .
http://<LAN_IP>
- Press
-
Wizard Configuration in Web GUI
- Follow the wizard:
- Next → Next
- Assign hostname.
- DNS server: Skip.
- Verify static IP configurations.
- Change the default admin password.
- Complete the wizard and finish setup.
- Follow the wizard:
Firewall Rules
- Go to Firewall Rules in pfSense.
- Apply rules to allow communication between LAN and WAN.
Verify Connectivity
- After setting firewall rules, ping Debian 1 and Debian 2.
- The machines should now be able to communicate successfully.
Read Next
8/26/2026
[Day 6] 5. Extra
1. **Quantum Computers or Quantum Computing** Quantum computing uses quantum-mechanical phenomena (like superposition and entanglement) to perf...
8/26/2026
[Day 7] 1. Public Key Infrastructure (PKI)
#### **Definition and Purpose:** - PKI is primarily used for **authentication purposes**. - It is an **ISO authentication framework** that employs...