<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mediawiki.comfac.net/index.php?action=history&amp;feed=atom&amp;title=Training_Lab_1%3A_Introduction_and_Backup_Restore</id>
	<title>Training Lab 1: Introduction and Backup Restore - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mediawiki.comfac.net/index.php?action=history&amp;feed=atom&amp;title=Training_Lab_1%3A_Introduction_and_Backup_Restore"/>
	<link rel="alternate" type="text/html" href="https://mediawiki.comfac.net/index.php?title=Training_Lab_1:_Introduction_and_Backup_Restore&amp;action=history"/>
	<updated>2026-06-05T10:58:54Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://mediawiki.comfac.net/index.php?title=Training_Lab_1:_Introduction_and_Backup_Restore&amp;diff=226&amp;oldid=prev</id>
		<title>Justinaquino: Convert FUND001 Lab1 to wiki training lab</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.comfac.net/index.php?title=Training_Lab_1:_Introduction_and_Backup_Restore&amp;diff=226&amp;oldid=prev"/>
		<updated>2026-04-23T06:52:40Z</updated>

		<summary type="html">&lt;p&gt;Convert FUND001 Lab1 to wiki training lab&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:#e8f5e9; border:1px solid #a5d6a7; border-radius:4px; padding:12px 16px; margin-bottom:20px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Hands-On Lab: Phase 1, Day 2&amp;#039;&amp;#039;&amp;#039; — Lab Environment Introduction, Initial Configuration, Backup and Restore. Based on Netgate FUND001-LIVE-Lab1-Intro.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Learning Objectives ==&lt;br /&gt;
By the end of this lab, you will be able to:&lt;br /&gt;
* Navigate the virtual lab environment and understand its topology&lt;br /&gt;
* Complete the pfSense setup wizard&lt;br /&gt;
* Verify basic connectivity through the firewall&lt;br /&gt;
* Create manual configuration backups&lt;br /&gt;
* Enable and configure AutoConfigBackup&lt;br /&gt;
* Restore a previous configuration from web interface and console&lt;br /&gt;
&lt;br /&gt;
== Lab Environment Overview ==&lt;br /&gt;
This lab uses a simulated corporate network with headquarters (HQ) and one branch office.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Network Topology:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;4 firewalls&amp;#039;&amp;#039;&amp;#039; — fw1-HQ, fw2-HQ (HA pair), fw1-branch, lab-internet-router&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;2 desktops&amp;#039;&amp;#039;&amp;#039; — HQ-client, Branch-client&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;2 servers&amp;#039;&amp;#039;&amp;#039; — server1, server2 (DMZ)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;1 simulated Internet host&amp;#039;&amp;#039;&amp;#039; — RemoteHost&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;8 total networks&amp;#039;&amp;#039;&amp;#039; — WAN, LAN, DMZ, sync, remote access, branch LAN, etc.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Lab access:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
In the Netgate original lab, desktops are accessed via NoVNC at http://100.64.0.100/remote. In Comfac&amp;#039;s virtual lab, you will access your student sandbox through the NoVNC portal.&lt;br /&gt;
&lt;br /&gt;
== IP Addressing Scheme ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Public/&amp;quot;Internet&amp;quot; IPs (RFC 5737 documentation ranges):&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Subnet !! Assignment&lt;br /&gt;
|-&lt;br /&gt;
| 192.0.2.0/24 || HQ WAN&lt;br /&gt;
|-&lt;br /&gt;
| 198.51.100.0/24 || HQ WAN2&lt;br /&gt;
|-&lt;br /&gt;
| 203.0.113.0/24 || Branch WAN&lt;br /&gt;
|-&lt;br /&gt;
| 100.64.0.0/24 || Remote Internet (CGNAT range)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Private Internal IPs (RFC 1918):&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Subnet !! Assignment&lt;br /&gt;
|-&lt;br /&gt;
| 172.17.1.0/24 || HQ LAN&lt;br /&gt;
|-&lt;br /&gt;
| 172.17.2.0/24 || HQ DMZ&lt;br /&gt;
|-&lt;br /&gt;
| 172.17.3.0/24 || HQ Sync (HA)&lt;br /&gt;
|-&lt;br /&gt;
| 172.17.4.0/24 || HQ Remote Access OpenVPN&lt;br /&gt;
|-&lt;br /&gt;
| 172.17.5.0/24 || HQ Remote Access IPsec&lt;br /&gt;
|-&lt;br /&gt;
| 172.17.6.0/24 || OpenVPN Site-to-Site tunnel&lt;br /&gt;
|-&lt;br /&gt;
| 172.18.1.0/24 || Branch LAN&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Why use obscure subnets?&amp;#039;&amp;#039;&amp;#039; Using 172.17.x.x instead of common 192.168.1.x minimizes VPN conflicts when remote users connect from home networks.&lt;br /&gt;
&lt;br /&gt;
== Firewall VM Details ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Default credentials for all firewalls:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Username: &amp;#039;&amp;#039;&amp;#039;admin&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Password: &amp;#039;&amp;#039;&amp;#039;netgate&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== fw1-HQ (Primary HQ Firewall) ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Interface !! Assignment !! Initial IP !! HA IP (later)&lt;br /&gt;
|-&lt;br /&gt;
| vtnet0 || WAN || 192.0.2.2 || no change&lt;br /&gt;
|-&lt;br /&gt;
| vtnet1 || LAN || 172.17.1.1 || 172.17.1.2&lt;br /&gt;
|-&lt;br /&gt;
| vtnet2 || DMZ || 172.17.2.1 || 172.17.2.2&lt;br /&gt;
|-&lt;br /&gt;
| vtnet3 || WAN2 || 198.51.100.2 || no change&lt;br /&gt;
|-&lt;br /&gt;
| vtnet4 || Sync || 172.17.3.2 || no change&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== fw2-HQ (Secondary HQ Firewall) ===&lt;br /&gt;
Initially inactive; configured in Advanced/HA lab later.&lt;br /&gt;
* WAN: 192.0.2.3&lt;br /&gt;
* LAN: 172.17.1.3&lt;br /&gt;
* DMZ: 172.17.2.3&lt;br /&gt;
* WAN2: 198.51.100.3&lt;br /&gt;
* Sync: 172.17.3.3&lt;br /&gt;
&lt;br /&gt;
=== fw1-branch (Branch Office Firewall) ===&lt;br /&gt;
* WAN: 203.0.113.10&lt;br /&gt;
* LAN: 172.18.1.1&lt;br /&gt;
&lt;br /&gt;
=== lab-internet-router (Simulated ISP) ===&lt;br /&gt;
Represents 4 ISP routers + Internet. Pre-configured; no lab changes needed.&lt;br /&gt;
* HQ-WAN1: 192.0.2.1&lt;br /&gt;
* HQ-WAN2: 198.51.100.1&lt;br /&gt;
* Branch-WAN: 203.0.113.1&lt;br /&gt;
* Remote Internet: 100.64.0.1&lt;br /&gt;
&lt;br /&gt;
== Client &amp;amp; Server VMs ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;HQ-client (Xubuntu Linux desktop):&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* IP: 172.17.1.100&lt;br /&gt;
* Credentials: training / password&lt;br /&gt;
* Purpose: Primary management workstation&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Branch-client (Xubuntu Linux desktop):&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* IP: 172.18.1.100&lt;br /&gt;
* Credentials: training / password&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Internet host / RemoteHost (Xubuntu):&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* IP: 100.64.0.50&lt;br /&gt;
* Credentials: training / password&lt;br /&gt;
* Purpose: Simulated external client + web server for testing&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;server1 &amp;amp; server2 (FreeBSD):&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* server1: 172.17.2.10&lt;br /&gt;
* server2: 172.17.2.20&lt;br /&gt;
* Credentials: training / password (root: password)&lt;br /&gt;
* Pre-configured with nginx/PHP and BIND DNS&lt;br /&gt;
&lt;br /&gt;
== Exercise 1: Initial Setup Wizard ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Prerequisites:&amp;#039;&amp;#039;&amp;#039; Your student environment should have fw1-HQ and HQ-client running.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Steps:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# From HQ-client, open browser and navigate to https://172.17.1.1&lt;br /&gt;
# Accept the self-signed certificate warning&lt;br /&gt;
# Log in with admin / netgate&lt;br /&gt;
# The setup wizard will launch automatically&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Wizard configuration:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;General Information&amp;#039;&amp;#039;&amp;#039; — Leave defaults (hostname: fw1-hq.example.com, DNS: lab-internet-router)&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Time Information&amp;#039;&amp;#039;&amp;#039; — Leave NTP server as 0.pfsense.pool.ntp.org; set timezone as needed (e.g., Asia/Manila)&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;WAN Configuration&amp;#039;&amp;#039;&amp;#039; — Verify static IP: 192.0.2.2/24, gateway 192.0.2.1&lt;br /&gt;
#* &amp;#039;&amp;#039;&amp;#039;Important:&amp;#039;&amp;#039;&amp;#039; Leave &amp;quot;Block bogon networks&amp;quot; and &amp;quot;Block private networks&amp;quot; unchecked (these are documentation IPs, not real public IPs)&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;LAN Configuration&amp;#039;&amp;#039;&amp;#039; — Verify 172.17.1.1/24&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Admin Password&amp;#039;&amp;#039;&amp;#039; — Change to a secure password (or leave default for lab)&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Reload&amp;#039;&amp;#039;&amp;#039; — Click Reload to apply settings&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Verification:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* HQ-client should be able to browse the real Internet through NAT&lt;br /&gt;
* Try browsing to any external website to confirm&lt;br /&gt;
&lt;br /&gt;
== Exercise 2: Manual Configuration Backup ==&lt;br /&gt;
# Browse to Diagnostics -&amp;gt; Backup &amp;amp; Restore&lt;br /&gt;
# Click Download configuration as XML&lt;br /&gt;
# Save the config.xml file to HQ-client&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;What this contains:&amp;#039;&amp;#039;&amp;#039; Entire system configuration — interfaces, rules, NAT, users, certificates, etc.&lt;br /&gt;
&lt;br /&gt;
== Exercise 3: Config History ==&lt;br /&gt;
# Stay on Diagnostics -&amp;gt; Backup &amp;amp; Restore&lt;br /&gt;
# Click the Config History tab&lt;br /&gt;
# You should see at least one revision (from the setup wizard)&lt;br /&gt;
# Click the diff icon to compare two revisions&lt;br /&gt;
# This shows exactly what changed between configurations&lt;br /&gt;
&lt;br /&gt;
== Exercise 4: AutoConfigBackup (ACB) ==&lt;br /&gt;
AutoConfigBackup is Netgate&amp;#039;s encrypted cloud backup service. Every configuration change is automatically backed up offsite.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Preparation (lab-specific step):&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# Go to Diagnostics -&amp;gt; Command Prompt&lt;br /&gt;
# Run: rm /etc/ssh/ssh_host_* &amp;amp;&amp;amp; /etc/rc.restart_sshd&lt;br /&gt;
# This regenerates SSH keys for ACB compatibility in the lab environment&lt;br /&gt;
#* &amp;#039;&amp;#039;Note: Not needed in production environments&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Enable ACB:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# Go to Services -&amp;gt; AutoConfigBackup&lt;br /&gt;
# Check Enable ACB&lt;br /&gt;
# Enter an encryption password (remember this!)&lt;br /&gt;
# Optional: Add a plain-text identifier to help Netgate support locate your backups&lt;br /&gt;
# Click Save&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Verify backup:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# Click the Backup Now tab -&amp;gt; Backup&lt;br /&gt;
# Go to Restore tab — your backup should appear in the list&lt;br /&gt;
# Note your Device ID — save it securely with your encryption password&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important:&amp;#039;&amp;#039;&amp;#039; If you lose the encryption password, backups are unrecoverable. If you lose the Device ID, Netgate support can help locate it using your identifier.&lt;br /&gt;
&lt;br /&gt;
== Exercise 5: Configuration Restore ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Scenario:&amp;#039;&amp;#039;&amp;#039; You misconfigured something and need to roll back.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Method A — Web Interface (if you can still reach it):&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# Diagnostics -&amp;gt; Backup &amp;amp; Restore -&amp;gt; Config History&lt;br /&gt;
# Find the revision before your mistake&lt;br /&gt;
# Click Restore&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Method B — AutoConfigBackup (longer history):&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# Services -&amp;gt; AutoConfigBackup -&amp;gt; Restore tab&lt;br /&gt;
# Select a previous backup&lt;br /&gt;
# Click Restore&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Method C — Console (emergency, no web access):&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# Access console via SSH or physical access&lt;br /&gt;
# Choose option 15: &amp;quot;Restore recent configuration&amp;quot;&lt;br /&gt;
# Choose option 1 to view recent configs&lt;br /&gt;
# Choose option 2 to restore a specific revision&lt;br /&gt;
# Enter the revision number&lt;br /&gt;
# Confirm with Y&lt;br /&gt;
# Reboot (option 5) to ensure clean application&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Problem !! Solution&lt;br /&gt;
|-&lt;br /&gt;
| Can&amp;#039;t reach https://172.17.1.1 || Check HQ-client IP (should be DHCP 172.17.1.x); verify cable/VLAN&lt;br /&gt;
|-&lt;br /&gt;
| Wizard doesn&amp;#039;t start || Already completed; go to System -&amp;gt; Setup Wizard to re-run&lt;br /&gt;
|-&lt;br /&gt;
| No Internet from HQ-client || Verify WAN IP/gateway; check lab-internet-router is running&lt;br /&gt;
|-&lt;br /&gt;
| ACB won&amp;#039;t enable || Run SSH key regeneration command first&lt;br /&gt;
|-&lt;br /&gt;
| Restore fails || Ensure restoring to equal or newer version; check encryption password&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Verification Checklist ==&lt;br /&gt;
Before finishing this lab, confirm:&lt;br /&gt;
* [ ] Setup wizard completed successfully&lt;br /&gt;
* [ ] HQ-client can browse Internet&lt;br /&gt;
* [ ] Manual config backup downloaded&lt;br /&gt;
* [ ] Config History shows revisions&lt;br /&gt;
* [ ] AutoConfigBackup enabled and backup completed&lt;br /&gt;
* [ ] Device ID recorded&lt;br /&gt;
* [ ] Successfully restored a previous configuration (optional practice)&lt;br /&gt;
&lt;br /&gt;
== Key Takeaways ==&lt;br /&gt;
* The lab simulates a real multi-site corporate network&lt;br /&gt;
* Using RFC 5737 documentation IPs prevents accidentally affecting real networks&lt;br /&gt;
* Always backup before making changes&lt;br /&gt;
* AutoConfigBackup provides 100 revisions of encrypted offsite backups&lt;br /&gt;
* Console restore (option 15) is your emergency recovery method&lt;br /&gt;
&lt;br /&gt;
== Next Module ==&lt;br /&gt;
* [[Training: Interfaces and Firewall Rules]] — Phase 1, Day 3&lt;br /&gt;
* [[Training Lab 2: Firewall Rules and Aliases]] — Hands-on lab&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;#039;&amp;#039;Source: Netgate FUND001-LIVE-Lab1-Intro.pdf&amp;#039;&amp;#039;&lt;br /&gt;
&amp;#039;&amp;#039;Comfac Virtual Lab Adaptation: VMs provisioned via Ansible; NoVNC access through student portal&amp;#039;&amp;#039;&lt;/div&gt;</summary>
		<author><name>Justinaquino</name></author>
	</entry>
</feed>