Changes between Version 17 and Version 18 of pfsenseinstall
- Timestamp:
- Nov 10, 2016, 6:00:39 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pfsenseinstall
v17 v18 10 10 11 11 === Installation of virtualbox and Downloading pfSense iso image === 12 Download and install virtualbox 5.0.x12 - Download and install virtualbox 5.0.x 13 13 14 Download pfSense image from the LEARN mirror14 - Download pfSense image from the LEARN mirror 15 15 16 Note down the location of downloaded iso file16 - Note down the location of downloaded iso file 17 17 18 18 === Creating PFSense VM === 19 Start virtualbox and Click on New button (at top-right) to create new virtual machine19 - Start virtualbox and Click on New button (at top-right) to create new virtual machine 20 20 21 Enter name of the VM as: '''pfsense.'your domain'.ws.learn.ac.lk'''. You can get your domain from [wiki:ipallocation here]21 - Enter name of the VM as: '''pfsense.'your domain'.ws.learn.ac.lk'''. You can get your domain from [wiki:ipallocation here] 22 22 23 23 eg: … … 25 25 26 26 27 Select OS Type: '''BSD'''27 - Select OS Type: '''BSD''' 28 28 29 Select Version: '''FreeBSD (64-bit)'''29 - Select Version: '''FreeBSD (64-bit)''' 30 30 31 Then click on '''Continue''' button31 - Then click on '''Continue''' button 32 32 33 Set VM's memory size to '''512MB''' and click on Continue button33 - Set VM's memory size to '''512MB''' and click on Continue button 34 34 35 Set VM's hard disk option to '''Create a virtual hard disk now'''35 - Set VM's hard disk option to '''Create a virtual hard disk now''' and then click on '''Continue''' 36 36 37 and then click on '''Continue'''37 - Select disk type to '''VDI''' 38 38 39 Select disk type to '''VDI'''39 - Select storage type to '''Fixed size''' and '''Continue''' 40 40 41 Select storage type to '''Fixed size''' and '''Continue''' 42 43 Make sure virtual hard disk file name in following format 41 - Make sure virtual hard disk file name in following format 44 42 45 43 '''pfsense.'your domain'.ws.learn.ac.lk''' 46 44 47 adjust the disk size to '''8.0GB''' 48 49 and click on '''Create''' to create the VM 45 - adjust the disk size to '''8.0GB''' and click on '''Create''' to create the VM 50 46 51 47 This might take couple of minutes … … 55 51 === Setting up Network Interface === 56 52 57 Select the VM from left panel on Virtual box, right click and open '''Settings'''53 - Select the VM from left panel on Virtual box, right click and open '''Settings''' 58 54 59 Click on the '''Network''' title55 - Click on the '''Network''' title 60 56 61 On '''Adapter 1''' While ''Enable'' Network Adapter selected choose Attached to be '''Bride Adapter'''. This virtual interface will work as the WAN port of the firewall (Can be connect from out side).57 - On '''Adapter 1''' While ''Enable'' Network Adapter selected choose Attached to be '''Bride Adapter'''. This virtual interface will work as the WAN port of the firewall (Can be connect from out side). 62 58 63 On '''Adapter 2''' While '''Enable''' Network Adapter selected choose Attached to be '''Internal Network'''. Default name is '''intent'''. keep it that way. This virtual interface will work as our LAN port (Can't connect from out side).59 - On '''Adapter 2''' While '''Enable''' Network Adapter selected choose Attached to be '''Internal Network'''. Default name is '''intent'''. keep it that way. This virtual interface will work as our LAN port (Can't connect from out side). 64 60 65 61 === Setting up boot device and Booting=== 66 62 67 Click on '''Storage''' title and select '''CD ROM icon''' under the '''Controller:IDE''' Click on CD ROM icon under the '''Attribute''' on the left side to select63 - Click on '''Storage''' title and select '''CD ROM icon''' under the '''Controller:IDE''' Click on CD ROM icon under the '''Attribute''' on the left side to select 68 64 69 Choose '''Virtual Optical Disk File'''65 - Choose '''Virtual Optical Disk File''' 70 66 71 Locate the '''PFSense CD image''' file you downloaded from the LEARN ftp67 - Locate the '''PFSense CD image''' file you downloaded from the LEARN ftp 72 68 73 Right click on VM to make a '''Normal Start''' VM. You should now see a separate window with PFSense Installation screen69 - Right click on VM to make a '''Normal Start''' VM. You should now see a separate window with PFSense Installation screen 74 70 75 71 == Pfsense Installation == … … 77 73 === Initial Installation === 78 74 79 As the pfSense starts booting, a prompt is displayed with some options and a countdown timer. At this prompt, press '''1''' to get install '''pfsense by default'''. If we don’t choose any option it will start to boot option 1 by default.75 - As the pfSense starts booting, a prompt is displayed with some options and a countdown timer. At this prompt, press '''1''' to get install '''pfsense by default'''. If we don’t choose any option it will start to boot option 1 by default. 80 76 81 Next, press '''I''' to install fresh copy of pfsense,77 - Next, press '''I''' to install fresh copy of pfsense, 82 78 83 On the next screen, it will ask you to '''Configure Console''', just press '''Accept these settings''' to move forward for installation process.79 - On the next screen, it will ask you to '''Configure Console''', just press '''Accept these settings''' to move forward for installation process. 84 80 85 Choose '''Quick / Easy Install''' option to take make things easier. Once you are familiar with pfsense installation you can try '''Custom Install'''.81 - Choose '''Quick / Easy Install''' option to take make things easier. Once you are familiar with pfsense installation you can try '''Custom Install'''. 86 82 87 The install will proceed, wiping the target disk and installing pfSense. Copying files may take some time to finish.83 - The install will proceed, wiping the target disk and installing pfSense. Copying files may take some time to finish. 88 84 89 After the files have been copied to the target disk, a choice is presented to select the '''Console Type'''. Standard Kernel defaults to the VGA console. Embedded Kernel defaults to serial console. Choose '''Standard Kernel'''85 - After the files have been copied to the target disk, a choice is presented to select the '''Console Type'''. Standard Kernel defaults to the VGA console. Embedded Kernel defaults to serial console. Choose '''Standard Kernel''' 90 86 91 Now the Installation is finished So it will ask to reboot. Choose '''Reboot''' and remember to '''remove the disc''' from vm so it will not fall back to the installation (Some times your vm might hang when you remove your disk. If this happens '''Right click''' your vm ( pfsense.'your domain'.ws.learn.ac.lk) on '''virtualbox manager''' window. Go to the '''close''' attribute and click on '''power off'''. It will shut down your vm. After it shuts down '''Right click''' your vm (pfsense.'your domain'.ws.learn.ac.lk) on '''virtualbox manager''' window and Click '''start'''. It will start your vm again.87 - Now the Installation is finished So it will ask to reboot. Choose '''Reboot''' and remember to '''remove the disc''' from vm so it will not fall back to the installation (Some times your vm might hang when you remove your disk. If this happens '''Right click''' your vm ( pfsense.'your domain'.ws.learn.ac.lk) on '''virtualbox manager''' window. Go to the '''close''' attribute and click on '''power off'''. It will shut down your vm. After it shuts down '''Right click''' your vm (pfsense.'your domain'.ws.learn.ac.lk) on '''virtualbox manager''' window and Click '''start'''. It will start your vm again. 92 88 93 89 === First Bootup === … … 97 93 After rebooting, you will get the a screen with available interfaces to configure the network. 98 94 99 The first option is presented as '''VLAN’s''', simply here say No by pressing '''n''' and '''enter'''.95 - The first option is presented as '''VLAN’s''', simply here say No by pressing '''n''' and '''enter'''. 100 96 101 There are two interface’s em0 and em1, pfSense will ask which interface to use as WAN and which interface to use as LAN. Press '''a''' and '''enter''' to auto configure the interfaces. please note that in this case pfSense is intelligent to assign correct virtual interfaces as WAN and LAN ports, Because only one interface can be connect from out side. Even if the interfaces are wrong you can assign them correctly later.97 - There are two interface’s em0 and em1, pfSense will ask which interface to use as WAN and which interface to use as LAN. Press '''a''' and '''enter''' to auto configure the interfaces. please note that in this case pfSense is intelligent to assign correct virtual interfaces as WAN and LAN ports, Because only one interface can be connect from out side. Even if the interfaces are wrong you can assign them correctly later. 102 98 103 It will ask for the '''confirmation''' and you can proceed with '''Y''' and press '''enter''' to continue to the99 - It will ask for the '''confirmation''' and you can proceed with '''Y''' and press '''enter''' to continue to the 104 100 105 101 == [=#point1 pfSense Console Configuration] == … … 109 105 === Assign WAN & LAN Interfaces === 110 106 111 Note that WAN and LAN Interfaces are assigned by PFSense itself. To change that press '''1''' and '''enter'''107 - Note that WAN and LAN Interfaces are assigned by PFSense itself. To change that press '''1''' and '''enter''' 112 108 113 The first step is presented as '''VLAN’s''', simply here say No by pressing '''n''' and '''enter'''.109 - The first step is presented as '''VLAN’s''', simply here say No by pressing '''n''' and '''enter'''. 114 110 115 To select em0 as WAN interface type '''em0''' and press '''enter'''111 - To select em0 as WAN interface type '''em0''' and press '''enter''' 116 112 117 To select em1 as WAN interface type '''em1''' and press '''enter'''113 - To select em1 as WAN interface type '''em1''' and press '''enter''' 118 114 119 We do not need optional interfaces so press '''enter''' at the next step115 - We do not need optional interfaces so press '''enter''' at the next step 120 116 121 Do you want to proceed? press '''y''' to say yes and '''enter'''117 - Do you want to proceed? press '''y''' to say yes and '''enter''' 122 118 123 119 124 120 === Assign WAN IP addresses === 125 121 126 To change the interface IP address press '''2''' and '''enter'''122 - To change the interface IP address press '''2''' and '''enter''' 127 123 128 WAN IP is set by DHCP by default. To change the WAN interface IP Address press '''1''' and '''enter'''.124 - WAN IP is set by DHCP by default. To change the WAN interface IP Address press '''1''' and '''enter'''. 129 125 130 We are going to have a static IP for WAN Interface. So press '''n''' and '''enter''' to avoid pfSense to configure the interface IP by DHCP.126 - We are going to have a static IP for WAN Interface. So press '''n''' and '''enter''' to avoid pfSense to configure the interface IP by DHCP. 131 127 132 Enter the WAN '''IP address assign''' to you and '''enter'''. Give '''subnet mask''' and '''gateway''' in the next steps. You can find your IP allocation from the [wiki:ipallocation IP table]128 - Enter the WAN '''IP address assign''' to you and '''enter'''. Give '''subnet mask''' and '''gateway''' in the next steps. You can find your IP allocation from the [wiki:ipallocation IP table] 133 129 134 We are going to have an IPv6 address by DHCP. Press '''y''' and '''enter''' to let pfSense get an IPv6 address130 - We are going to have an IPv6 address by DHCP. Press '''y''' and '''enter''' to let pfSense get an IPv6 address 135 131 136 Press '''n''' and '''enter''' to disable http on WAN interface132 - Press '''n''' and '''enter''' to disable http on WAN interface 137 133 138 You will be prompted back to main interface.134 - You will be prompted back to main interface. 139 135 140 136 === Assign LAN IP addresses === 141 137 142 To change the interface IP address press '''2''' and '''enter'''138 - To change the interface IP address press '''2''' and '''enter''' 143 139 144 To change the WAN interface IP Address press '''2''' and '''enter'''.140 - To change the WAN interface IP Address press '''2''' and '''enter'''. 145 141 146 Enter the LAN Ip address as ''' 10.1.1.254'''. Enter subnet mas as '''24'''. We are going to have this IP address as our LAN's gateway IP. Do not give any parameters to gateway on LAN. Just press enter.142 - Enter the LAN Ip address as ''' 10.1.1.254'''. Enter subnet mas as '''24'''. We are going to have this IP address as our LAN's gateway IP. Do not give any parameters to gateway on LAN. Just press enter. 147 143 148 We are not going to have an IPv6 address for LAN. So just Press enter.144 - We are not going to have an IPv6 address for LAN. So just Press enter. 149 145 150 To enable DHCP server on LAN press '''y''' and press enter146 - To enable DHCP server on LAN press '''y''' and press enter 151 147 152 For this workshop our LAN DHCP range is 10.1.1.1 to 10.1.1.50. Give start and end IP addresses in next steps.148 - For this workshop our LAN DHCP range is 10.1.1.1 to 10.1.1.50. Give start and end IP addresses in next steps. 153 149 154 You will be promted back to main interface.150 - You will be promted back to main interface. 155 151 156 152 You have now set up both WAN and LAN IP addresses.