pfSense Decommission
1. Overview
This runbook decommissions the pfSense firewall after the VyOS HA cluster has been validated and running stably. Execute ONLY after completing all VyOS migration milestones.
|
DO NOT execute this runbook until:
|
2. Phase 1: Pre-Decommission Checklist
2.1. 1.1 Validation Checklist
Complete ALL items before proceeding:
| Check | Description | Status |
|---|---|---|
[ ] |
VyOS HA stable for 7+ days |
|
[ ] |
VRRP failover tested (both directions) |
|
[ ] |
All VLANs routing correctly |
|
[ ] |
Internet access working for all zones |
|
[ ] |
DHCP leases being issued |
|
[ ] |
DNS forwarding working |
|
[ ] |
Suricata IDS logging |
|
[ ] |
Wazuh agent reporting |
|
[ ] |
node_exporter metrics available |
|
[ ] |
API access working |
|
[ ] |
Git config tracking active |
|
[ ] |
Team trained on VyOS operations |
2.2. 1.2 Verify No pfSense Dependencies
# Check nothing is using pfSense IP
ping -c1 10.50.1.1 # Should respond from VyOS VIP, not pfSense
# Verify VyOS is handling traffic
ssh vyos-01 "show vrrp"
# Should show vyos-01 as MASTER
# Check active sessions through VyOS
ssh vyos-01 "show nat translations"
3. Phase 2: Final pfSense Backup
4. Phase 3: Document Lessons Learned
TODO: Add lessons learned template
Document the following:
-
What went well during migration
-
Issues encountered and solutions
-
Configuration differences between pfSense and VyOS
-
Time taken for each phase
-
Recommendations for similar migrations
5. Phase 4: Stop pfSense VM
6. Phase 5: Archive VM Files
6.1. 5.1 Export VM Definition
# On kvm-01
sudo virsh dumpxml pfSense-FW01 > /tmp/pfSense-FW01-definition.xml
8. Phase 7: Update Documentation
9. Rollback (Emergency)
If critical issues discovered after stopping pfSense:
# On kvm-01 - restore from archive
sudo cp /mnt/onboard-ssd/libvirt/archive/pfSense-FW01.qcow2 /mnt/onboard-ssd/libvirt/images/
sudo virsh define /mnt/onboard-ssd/libvirt/archive/pfSense-FW01-definition.xml
sudo virsh start pfSense-FW01
# Update client gateways to point to pfSense if needed
# (VyOS should still work alongside pfSense temporarily)