0235.html 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Install pfSense Firewall and Router in VirtualBox</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Virtualbox,Virtual Machine,Virtual Router,Linux,PfSense,Firewall,How To,Tutorial">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Install pfSense Firewall and Router in VirtualBox">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="05/25/2022 07:30:06 AM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Install pfSense Firewall and Router in VirtualBox</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <ol>
  26. <li>Download pfSense&nbsp;<a href="https://www.pfsense.org/download/" target="_blank">Download</a></li>
  27. <li>Extract the downloaded pfSense .gz</li>
  28. <li>Launch Virtualbox</li>
  29. <li>Create a New VM by selecting Machine &gt; New
  30. <p>Name: pfSense<br />
  31. Machine Folder: C:\VMs<br />
  32. Type: BSD<br />
  33. Version: FreeBSD&nbsp;(64-bit)<br />
  34. Memory Size: 1024 MB<br />
  35. Hard disk: Create a virtual hard disk now</p>
  36. </li>
  37. <li>Click Create</li>
  38. <li>On the Create Virtual Hard Disk dialog
  39. <p>Name the virtual disk image pfSense.vdi<br />
  40. File size: 8 GB<br />
  41. Hard disk file type: VDI<br />
  42. Storage on physical hard disk: Dynamically Allocated</p>
  43. </li>
  44. <li>Click Create</li>
  45. <li>Select the VM and Click Settings</li>
  46. <li>Select Display</li>
  47. <li>Slide the Video Memory to 128 MB</li>
  48. <li>Select Storage</li>
  49. <li>Click on the CD-ROM drive</li>
  50. <li>Select the disc dropdown to the right &gt; Choose a virtual optical disc file...</li>
  51. <li>Browse to and select the downloaded pfSense .iso file</li>
  52. <li>Click OK</li>
  53. <li>Select Network</li>
  54. <li>Set the attached to dropdown to Bridged Adapter</li>
  55. <li>Click the Adapter 2 tab</li>
  56. <li>Check the Enable Network Adapter and set the attached to dropdown to Bridged Adapter</li>
  57. <li>Click OK</li>
  58. <li>Make sure the pfSense VM is selected and click Start &gt; Normal</li>
  59. <li>Press Enter to Accept the Copyright and distribution notice</li>
  60. <li>Select Install pfSense &gt; Press Enter</li>
  61. <li>Select the keyboard mapping to use &gt; Press Enter</li>
  62. <li>Select Auto (UFS) Guided Disk Setup &gt; Press Enter</li>
  63. <li>Wait for pfSense to copy files and install</li>
  64. <li>At the Manual Configuration prompt select No &gt; Press Enter</li>
  65. <li>Select Reboot &gt; Press Enter</li>
  66. <li>From the VirtualBox menu select Devices &gt; Optical Drives &gt; Remove disk from virtual drive</li>
  67. <li>Reset the VM by selecting Machine &gt; Reset from the VirtualBox menu</li>
  68. <li>Welcome to the pfSense terminal</li>
  69. </ol>
  70. <h2>Configuring Network Interfaces and Web UI</h2>
  71. <ol>
  72. <li>At the pfSense menu, select Set interface(s) IP address by typing 2 and pressing Enter</li>
  73. <li>Enter the number that corresponds to the LAN&nbsp;interface &gt; Press Enter</li>
  74. <li>Enter a LAN IP address on the same subnet as your LAN</li>
  75. <li>At the bit count prompt type&nbsp;24 &gt; Press Enter</li>
  76. <li>Leave the IPv4 upstream gateway blank press Enter</li>
  77. <li>Leave the IPv6 address blank and press Enter</li>
  78. <li>At the DHCP server prompt type n &gt; Press Enter</li>
  79. <li>At the revert to HTTP prompt type y &gt; Press Enter</li>
  80. <li>The http address of the pfSense Web UI will be displayed</li>
  81. <li>Press Enter to return to the main menu</li>
  82. <li>Minimize the pfSense VM and open a web browser</li>
  83. <li>Navigate to the web UI http address</li>
  84. <li>Log into the web UI with the username admin and password pfsense</li>
  85. <li>Select System &gt; User Manager from the top navigation</li>
  86. <li>Click the edit icon across from the admin user</li>
  87. <li>Setup and confirm a new password for the admin user</li>
  88. <li>Scroll to the bottom of the page and click the Save button</li>
  89. <li>Click the Logout icon in the top right of the page</li>
  90. <li>Log back into the web UI using the new password</li>
  91. <li>Enjoy exploring pfSense</li>
  92. </ol>
  93. </div>
  94. </div>
  95. </body>
  96. </html>