OpnSense - adaley0518/Tech_Journal GitHub Wiki

OpnSense is an open-source firewall. The Configuration steps include:

  • Step 1: assign interfaces so they are in order as they appear on the vSphere configuration. The goal is to get WAN as the first interface and LAN as the second.
    • Select/option 1 (allows to reassign interfaces)
    • Do NOT configure VLANs now
    • WAN interface change to em0
    • LAN interface change to em1
    • When prompted for an optional interface, enter
    • The interfaces should have successfully changed
      • WAN -> em0
      • LAN -> em1
  • Step 2: set Interface IP address
    • Select/option 2 (set interface IP address)
      • select 2 again for WAN interface
      • NO DHCP to configure WAN IPv4 address
      • enter address of 10.0.17.x, (x was assigned /24 octet) == 10.0.17.115
      • 24 bit submask
      • WAN upstream gateway is 10.0.17.2
      • use gateway as IPv4 name server
      • NO IPv6, NO DHCP
      • Press "ENTER" to pass IPv6 configuration
      • NO to HTTP for the GUI
    • Select/option 2 (again)
      • select 1 to pick LAN interface
      • NO DHCP
      • LAN IP address 10.0.5.2 (every student is the same/gateway too)
      • 24 bit subnet mask
      • NO upstream LAN gateway, press "ENTER" (you are the gateway)
      • NO DHCP
      • Press "ENTER" to pass IPv6 configuration
      • do not enable a LAN DHCP Server
      • No revert to HTTP

Gui Configuration in Windows 10 server for Opnsese:

  • Step 1: type the gateway into the web browser (10..0.5.2) and use the same password as when logging into the OpnSense console
  • Step 2: Go to system wizard: in general information fill in the information below in the spaces provided
    • Hostname: fw1-yourname
    • Domain: yourname.local
  • Step 3: configure WAN interface in the spaces provided with the info below
    • RFC1918 Networks: Uncheck "Block private networks from entering via WAN"
  • Step 4: set Root Password: change only if need be