PFSense Community Edition on Azure with 2 NICs using Powershell

Опубликовано: 23 Сентябрь 2023
на канале: James McDonald
4,060
61

Note: Loading pfSense CE (2.7.2) into Azure as below results in broken updates and package install functionality. Look at OPNSense as an alternative.

Covers installing pfSense Community Edition in Hyper-V, uploading the VHD to Azure and configuring for 2 NICs with Powershell to protect a back end subnet and have the back end devices use the pfSense as the firewall / network gateway.

Powershell here:
https://toggen.com.au/it-tips/pfsense...

00:00 Intro
00:15 Create Resource Group and Virtual Network
02:05 Create Gen 1 VHD Virtual Hard Drive in Hyper-V
02:55 Install a test/utility Ubuntu instance in Azure
04:33 Plugging values into the Powershell Script which creates pfSense community edition VM in Azure
06:17 Create a VM in Hyper-V suitable for pfSense
07:42 Create a storage account to upload pfSense VHD to Azure
08:23 Complete pfSense install wizard in Hyper-V
11:10 Make changes in pfSense to get it ready to run in Azure
13:10 Compressing VHD with 7-zip
14:57 Installing 7-zip and azcopy in Ubuntu
16:51 Uploading 7-zipped VHD using Azure Storage Explorer
18:33 Plugging values into the Powershell Script which creates pfSense community edition VM in Azure continued.
19:46 Getting an SAS from Azure Storage Explorer for use with azcopy
23:18 Install the Az Powershell Module
26:02 Using azcopy to copy a zipped VHD to a VM, unpack it and copy back to the a storage account.
31:50 Running Powershell to create the pfSense VM in Azure
33:30 Viewing pfSense boot status using Boot Diagnostics
35:30 Accessing the Serial console and add the LAN interface
39:30 Using a SSH tunnel to connect to the LAN interface of the pfSense
41:19 Connecting to the admin portal via the WAN interface
50:23 Fixing HTTP_REFERER error
51:49 Adding a DNS hostname
54:45 Checking your external IP address using dig and OpenDNS
55:20 Making pfSense the default gateway using a Route table
58:20 Enabling IP Forwarding so pfSense can act as a Router
59:20 Add a Port forward to a host behind the pfSense firewall
1:03:53 Add a block rule


Смотрите видео PFSense Community Edition on Azure with 2 NICs using Powershell онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь James McDonald 23 Сентябрь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,060 раз и оно понравилось 61 людям.