Changes between Version 17 and Version 18 of pfsenseinstall


Ignore:
Timestamp:
Nov 10, 2016, 6:00:39 AM (8 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pfsenseinstall

    v17 v18  
    1010
    1111=== Installation of virtualbox and Downloading pfSense iso image ===
    12 Download and install virtualbox 5.0.x
     12 - Download and install virtualbox 5.0.x
    1313
    14 Download pfSense image from the LEARN mirror
     14 - Download pfSense image from the LEARN mirror
    1515
    16 Note down the location of downloaded iso file
     16 - Note down the location of downloaded iso file
    1717
    1818=== Creating PFSense VM ===
    19 Start virtualbox and Click on New button (at top-right) to create new virtual machine
     19 - Start virtualbox and Click on New button (at top-right) to create new virtual machine
    2020
    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]
    2222
    2323eg:
     
    2525 
    2626
    27 Select OS Type: '''BSD'''
     27 - Select OS Type: '''BSD'''
    2828
    29 Select Version: '''FreeBSD (64-bit)'''
     29 - Select Version: '''FreeBSD (64-bit)'''
    3030
    31 Then click on '''Continue''' button
     31 - Then click on '''Continue''' button
    3232
    33 Set VM's memory size to '''512MB''' and click on Continue button
     33 - Set VM's memory size to '''512MB''' and click on Continue button
    3434
    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'''
    3636
    37 and then click on '''Continue'''
     37 - Select disk type to '''VDI'''
    3838
    39 Select disk type to '''VDI'''
     39 - Select storage type to '''Fixed size''' and '''Continue'''
    4040
    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
    4442
    4543 '''pfsense.'your domain'.ws.learn.ac.lk'''
    4644
    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
    5046
    5147This might take couple of minutes
     
    5551=== Setting up Network Interface ===
    5652
    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'''
    5854
    59 Click on the '''Network''' title
     55 - Click on the '''Network''' title
    6056
    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).
    6258
    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).
    6460
    6561=== Setting up boot device and Booting===
    6662
    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 select
     63 - 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
    6864
    69 Choose '''Virtual Optical Disk File'''
     65 - Choose '''Virtual Optical Disk File'''
    7066
    71 Locate the '''PFSense CD image''' file you downloaded from the LEARN ftp
     67 - Locate the '''PFSense CD image''' file you downloaded from the LEARN ftp
    7268
    73 Right click on VM to make a '''Normal Start''' VM. You should now see a separate window with PFSense Installation screen
     69 - Right click on VM to make a '''Normal Start''' VM. You should now see a separate window with PFSense Installation screen
    7470
    7571== Pfsense Installation ==
     
    7773=== Initial Installation ===
    7874
    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.
    8076
    81 Next, press '''I''' to install fresh copy of pfsense,
     77 - Next, press '''I''' to install fresh copy of pfsense,
    8278
    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.
    8480
    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'''.
    8682
    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.
    8884
    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'''
    9086
    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.
    9288
    9389=== First Bootup ===
     
    9793After rebooting, you will get the a screen with available interfaces to configure the network.
    9894
    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'''.
    10096
    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.
    10298
    103 It will ask for the '''confirmation''' and you can proceed with '''Y''' and press '''enter''' to continue to the
     99 - It will ask for the '''confirmation''' and you can proceed with '''Y''' and press '''enter''' to continue to the
    104100
    105101== [=#point1 pfSense Console Configuration] ==
     
    109105=== Assign WAN & LAN Interfaces ===
    110106
    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'''
    112108
    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'''.
    114110
    115 To select em0 as WAN interface type '''em0''' and press '''enter'''
     111 - To select em0 as WAN interface type '''em0''' and press '''enter'''
    116112
    117 To select em1 as WAN interface type '''em1''' and press '''enter'''
     113 - To select em1 as WAN interface type '''em1''' and press '''enter'''
    118114
    119 We do not need optional interfaces so press '''enter''' at the next step
     115 - We do not need optional interfaces so press '''enter''' at the next step
    120116
    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'''
    122118
    123119
    124120=== Assign WAN IP addresses ===
    125121
    126 To change the interface IP address press '''2''' and '''enter'''
     122 - To change the interface IP address press '''2''' and '''enter'''
    127123
    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'''.
    129125
    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.
    131127
    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]
    133129
    134 We are going to have an IPv6 address by DHCP. Press '''y''' and '''enter''' to let pfSense get an IPv6 address
     130 - We are going to have an IPv6 address by DHCP. Press '''y''' and '''enter''' to let pfSense get an IPv6 address
    135131
    136 Press '''n''' and '''enter''' to disable http on WAN interface
     132 - Press '''n''' and '''enter''' to disable http on WAN interface
    137133
    138 You will be prompted back to main interface.
     134 - You will be prompted back to main interface.
    139135
    140136=== Assign LAN IP addresses ===
    141137
    142 To change the interface IP address press '''2''' and '''enter'''
     138 - To change the interface IP address press '''2''' and '''enter'''
    143139
    144 To change the WAN interface IP Address press '''2''' and '''enter'''.
     140 - To change the WAN interface IP Address press '''2''' and '''enter'''.
    145141
    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.
    147143
    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.
    149145
    150 To enable DHCP server on LAN press '''y''' and press enter
     146 - To enable DHCP server on LAN press '''y''' and press enter
    151147
    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.
    153149
    154 You will be promted back to main interface.
     150 - You will be promted back to main interface.
    155151
    156152You have now set up both WAN and LAN IP addresses.