0235.html 4.6 KB

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