dev-resources.site
for different kinds of informations.
pfSense Quickstart
Published at
4/24/2024
Categories
pfsense
router
security
installation
Author
rahuldhole
Author
10 person written this
rahuldhole
open
Prerequisite:
- Create vmbrX/VLAN/etc virtual bridge in Proxmox > Network
- Have an internet connection vmbr0 probably
- 8 GB disk, 512 MB RAM, 1 CPU core and two IPs
- watch a quick tutorial to see the latest updates
Steps:
- Using ISO creates a VM
- Add vmbr0 and vmbr1 and vmbr1 must be connected to the internet
- make vmbr0 as a private LAN add a static ip 172.27.1.1/26 255.255.255.192
- DHCP vmbr1
- Create some SSH or VPN tunnel connection and get access to 172.27.1.1
- Go to http://172.27.1.1/
- ID admin and pas: pfsense so set a new password
- Go to interfaces > Assignments > Add Private LAN and WAN connections
- Click on Private LAN or WAN | Go to Interfaces > Private LAN or WAN
- Enable both
- IPv4 Configuration Type static IP in Private LAN and type 172.27.1.1 below in IPv4 Address and select CIDR as 26
- Go to services > DHCP Server > Enable DHCP for Private LAN and select a DHCP range 172.27.1.10-172.27.1.60
Adding more bridges
- repeat proxmox steps
- Add new network in pfsense VM
- Again go to the interfaces and configure them and set DHCP server
- Set up firewall rules as Action: Pass Protocol: Any save to provide internet access
- You may add one more rule to Action: Block Protocol: Any Destination Private LAN and save it to block any network reaching Private LAN devices
Important notes after creation
- In pfsense make it eth0 and make a working internet link as eth1 although eth0 would be a LAN and eth1 as WAN
- Don't forget DNS servers and Firewall rules to allow everything.
- Firewall Rule> Block access to private LAN from each LAN
- In Pi Hole> enable DNS to resolve from any origin of network. Go to settings >DNS>Interfce
Issues
- Sometimes DNS does not resolve in VMs so in that case add 1.1.1.1 or any secondary DNS server
DNS Forwarding
Change domain to pfsense.private.babunet
and configure proxmox.private.babunet as DNS Forwarder > Host Overrides
To enable hosts visible by their hostnames. Or you may assign a custom hostname by custom IP as follows:
1. ServicesDHCP > Server > DHCP Static Mappings
2. Assign host+domain name
3. in DNS
Troubleshoot clear DNS cache in PC and browser
sudo systemd-resolve --flush-caches
chrome://net-internals
Check DHCP lease under StatusWhen pfsense IP is not reachable means firewall rules need to be reordered or change
installation Article's
30 articles in total
How to Install MySQL on Ubuntu
read article
Granite Worktops
read article
Bathroom Worktops
read article
Kitchen Worktops
read article
EdgeDB bare metal Installation and Configuration Script
read article
Step by Step Guide: How to Install Grafana on Ubuntu 24.04
read article
Anyone tried installing Docker on Ubuntu 24.04 ?
read article
How to Install Ubuntu 24.04 on Proxmox VE
read article
How to Install WordPress on Ubuntu 24.04 with Nginx and MariaDB
read article
How to install Python in WindowsΒ 11?
read article
Why Window Replacement is Key for Efficiency and Security
read article
Anaconda Installation and Virtual Environments: A Comprehensive Guide for Windows, Linux, and macOS
read article
How to Install or Download MongoDB 7 on Windows 10/11 | Step by Step Guide for Localhost
read article
How to install Python on Windows
read article
PYTHON INSTALLATION (IDLE & COLLAB Execution Test)
read article
How to install Python Libraries in Visual Studio Code
read article
Top 10 React js interview questions.
read article
pfSense Quickstart
currently reading
Outdoor LED display installation requirements and precautions
read article
Important details that are easily overlooked during LED module installation
read article
Install Java 17 On Linux in 2 Ways: Step-By-Step Guide
read article
Day 2: Setting Sail with Docker - Your First Steps in Installation and Setup
read article
Creating a Home Theater Experience with Soundproof Curtains
read article
Fixing RabbitMQ Startup issues
read article
DIY vs. Professional Installation: WiFi Access Points Compared
read article
Install Docker on Ubuntu 18.04
read article
Apache Kafka: Quickstart: Binary Deployment in Windows
read article
Installing Laravel Passport - A Comprehensive Guide
read article
Running Apache AGE using docker
read article
How to fix sudo docker compose - compose is not a docker command
read article
Featured ones: