Browse Source

Started glossary, firewall split, added attachments, minor fixes,

master
Linreigns 3 years ago
parent
commit
a8fe815539
  1. 3
      .gitignore
  2. 2
      build.sh
  3. 2
      source/Ansible.tex
  4. 12
      source/Clouds/Flokinet.tex
  5. 10
      source/Clouds/Sharktech.tex
  6. 4
      source/Distros.tex
  7. 4
      source/Distros/Debian.tex
  8. 2
      source/Distros/Distros-tmpl.tex
  9. 607
      source/Firewall-opnsense.tex
  10. 570
      source/Firewalls.tex
  11. 65
      source/Hardware.tex
  12. 20
      source/History.tex
  13. 24
      source/Network.tex
  14. 17
      source/Proxmox.tex
  15. 4
      source/Software-daemons.tex
  16. 81
      source/forksand-it-manual.tex
  17. 440
      source/glossary.sty
  18. BIN
      source/resources/images/s-TL-SG1048.png
  19. BIN
      source/resources/images/s-XS716T-si.png
  20. BIN
      source/resources/images/s-XS716T.png
  21. BIN
      source/resources/images/sf-fw/ssc-opns-dash13-admin1.png
  22. BIN
      source/resources/images/sf-fw/ssc-opns-dash14-admin2.png
  23. BIN
      source/resources/images/sf-fw/ssc-opns-dash15-notif.png
  24. BIN
      source/resources/images/sf-fw/ssc-opns-dash16-misc1.png
  25. BIN
      source/resources/images/sf-fw/ssc-opns-dash17-misc2.png
  26. BIN
      source/resources/images/sf-fw/ssc-opns-dash18-misc3.png

3
.gitignore

@ -2,6 +2,8 @@ forksand-it-manual.pdf
*~
.~lock.*#
*.aux
*.glg
*.ist
*.bbl
*.blg
.fuse_hidden*
@ -19,6 +21,7 @@ _minted-*
*.swp
*.toc
*.xdv
*.xdy
*.zip
*.fls
*.fdb_latexmk

2
build.sh

@ -27,6 +27,8 @@ xelatex \
-interaction=nonstopmode \
forksand-it-manual.tex
makeglossaries-lite "forksand-it-manual"
for i in $(ls *.pdf); do mv -f $i ../$i ; done # in windows every file must be processed explicitly
exit 0

2
source/Ansible.tex

@ -123,7 +123,7 @@ The following applications are required to utilize this this section objectives.
Ansible can be installed using Python PIP.
\begin{itemize}
\item \texttt{Ansible} 2.4.x+
\item \texttt{Python} 2.7.9+
\item \texttt{Python} 2.7.x+
\textcolor[rgb]{0.80,0.00,0.00}{Todo clarify confusion over version requirements}
\end{itemize}

12
source/Clouds/Flokinet.tex

@ -32,7 +32,7 @@ We encourage you to do so! We are able to supply secure and stable environments
FlokiNET runs Tor exit and relay nodes.
\begin{figure}[h!]
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]{www-flokinet.png}
\caption{Flokinet Website}
\label{fig:www-flokinet}
@ -141,11 +141,11 @@ FlokiNET Pros:
\item The entire reason for FlokiNET to exist is to help people publish in repressive environments.
\item Strong dedication to privacy.
\item Based in Iceland.
\item Dedicated servers aren't too expensive.
\item \Glspl{dedicatedserver} aren't too expensive.
\item Romanian VPS is OpenVZ and KVM.
\item Finnish VPS is KVM.
\item Has private domain registration services.
\item Colocation available.
\item \Gls{colocation} available.
\item ``FlokiNET is proud to be completly Tor Project logo-friendly. Feel free to host a TOR-node with us!''
\item ``DDoS mitigation cloud has 950 Gbps filtering capacity.''
\item Finland and Iceland are free speech friendlier countries.
@ -163,7 +163,7 @@ FlokiNET Cons:
\begin{itemize}
\item Iceland Virtual Private Server uses VMWare.
\item Dedicated servers look like older HP models.
\item \Glspl{dedicatedserver} look like older HP models.
\item Bandwidth is OK, but not great as they are on a remote island.
\item VoIP URL is 404 \url{https://flokinet.is/en/learnsecurevoip.php}.
\item Uses WHMCS for account services management (non-free software).
@ -184,7 +184,7 @@ is4423 tty1 - 02:24 2:16m 0.17s 0.08s -bash
\subsection{FlokiNET Unknown}
\begin{itemize}
\item IPMI on dedicated servers?
\item IPMI on \glspl{dedicatedserver}?
\item The IP in \texttt{/etc/hosts} for the hostname wasn't the same as used for SSH.
Either a mistake or firewall forwarded for security (???). Appears to be mistake.
Either a mistake or \gls{firewall} forwarded for security (???). Appears to be mistake.
\end{itemize}

10
source/Clouds/Sharktech.tex

@ -16,13 +16,13 @@ Looks good. Manually provisions servers over a few days.
Good local speed and latency.
\url{https://sharktech.net/}
\begin{figure}[h!]
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]{www-sharktech.png}
\caption{Sharktech Website}
\label{fig:www-sharktech}
\end{figure}
\begin{figure}[h!]
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]{www-sharktech-dashboard-services.png}
\caption{Sharktech Dashboard Services Web Page}
\label{fig:www-sharktech-dashboard-services}
@ -54,17 +54,17 @@ Firmware Build Time : 2015-01-05
# XXX takes 7 minutes to reboot.
\end{minted}
\begin{figure}[h!]
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]{sharktech-reboot-dhcp.png}
\caption{Sharktech Reboot DHCP Hang}
\label{fig:sharktech-reboot-dhcp}
\end{figure}
\begin{figure}[h!]
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]{sharktech-reboot-dhcp-2.png}
\caption{Sharktech Reboot DHCP Hang 2}
\label{fig:sharktech-reboot-dhcp-2}
\end{figure}
\begin{figure}[h!]
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]{sharktech-reboot-grub.png}
\caption{Sharktech Reboot GRUB}
\label{fig:sharktech-reboot-grub}

4
source/Distros.tex

@ -15,8 +15,8 @@
The following operating systems will be used:
\begin{itemize}
\item Debian GNU/Linux --- For Utility, Ceph, and OpenNebula Servers.
\item OPNSense --- Firewalls.
\item Debian \gls{gnulinux} --- For Utility, Ceph, and OpenNebula Servers.
\item OPNSense --- \Glspl{firewall}.
\end{itemize}
\input{Distros/Debian}

4
source/Distros/Debian.tex

@ -13,7 +13,7 @@
\section{Debian}
Debian is a free software GNU/Linux distribution.
\begin{figure}[h!]
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]{www-debian.png}
\caption{Debian Website}
\label{fig:www-debian}
@ -56,7 +56,7 @@ Here are some for Debian...
The \texttt{packer} application in Debian looks particularly useful.
\begin{figure}[h!]
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]{www-packer.png}
\caption{Packer Website}
\label{fig:www-packer}

2
source/Distros/Distros-tmpl.tex

@ -12,7 +12,7 @@
\section{DISTRO}
Website: % \url{https://www.distro.org}
%\begin{figure}[h!]
%\begin{figure}[!htb]
%\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]{www-distro.png}
% \caption{DISTRO Website}
% \label{fig:www-distro}

607
source/Firewall-opnsense.tex

@ -0,0 +1,607 @@
%
% Firewall-opnsense.tex
%
% Fork Sand IT Manual
%
% Copyright (C) 2018, Fork Sand, Inc.
% Issued by Oleksandr Papevis
%
% This document is licensed under the Creative Commons Attribution 4.0
% International Public License (CC BY-SA 4.0) by Fork Sand, Inc.
%
\section{Hardware Overview}
\begin{itemize}
\item OPNsense is based on FreeBSD \\ \url{https://opnsense.org/}
\\ \url{https://wiki.opnsense.org/index.html}
\item Iris FW1100 datasheet \\ \url{https://www.supermicro.com/products/system/1U/1018/SYS-1018D-FRN8T.cfm}
\end{itemize}
The Supermicro SuperServer 1018D-FRN8T is a 1U server with front I/O.
That means that both the rear I/O ports as well as the I/O expansion
ports are found along the front side of the rack. In many cases this
is a desirable configuration as it can make cabling very simple.
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ss-front.png}
\caption{Supermicro SuperServer 1018D-FRN8T Front}
\label{fig:supermicroSSfront}
\end{figure}
The rear of the unit has a redundant 400W power supply. Rated at 80
Plus Platinum the power supplies are efficient as well. The remainder
of the rear is simply a bezel for fans.
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ss-rear.png}
\caption{Supermicro SuperServer 1018D-FRN8T Rear}
\label{fig:supermicroSSrear}
\end{figure}
The onboard I/O is plentiful. There are two USB 3.0 ports along with
a VGA port for KVM carts. Above the USB ports there is a RJ-45
Ethernet port for out-0f-band management that can be directly
connected to a dedicated management network.
%-------------------
Furthermore there are
six 1GbE ports connected to two Intel i210-at controllers and an
Intel i350-am4 controller. The two SFP+ ports are controlled by the
Xeon D’s Intel X552 NIC. For \glspl{firewall} and other appliances, this is
a very strong configuration.
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/iris-fw1100-front.png}
\caption{Supermicro SuperServer 1018D-FRN8T interfaces}
\label{fig:supermicroSSinterfaces}
\end{figure}
Inside the system we see a redundant set of fans near the PSU bezel
and a very small motherboard inside. One can see our two stacks of
Seagate Enterprise Capacity V3 1TB 7200rpm drives as well. We removed
the PCIe riser and the airflow shroud from this picture to show off
the internals better.
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ss-noshroud.png}
\caption{Supermicro SuperServer 1018D-FRN8T Internal no shroud}
\label{fig:supermicroSSnoshroud}
\end{figure}
\subsection{Remote Management}
Supermicro’s IPMI and KVM-over-IP enables deployment flexibility.
One can do remote power up, power down, and reset of the server in
the event that it becomes unresponsive.
\begin{itemize}
\item fan speeds, chassis intrusion sensors, thermal sensors,
and etc. can be monitored remotely
\item remote power control. One can do remote power up, power
down, and reset of the server in the event that it becomes
unresponsive.
\item alerts can be setup to notify the admins of issues.
\item remotely mount CD images and floppy images to the machine
over the dedicated management Ethernet controller. This keeps
maintenance traffic off of the primary Intel NICs.
At the same time it removes the need for an optical disk to
be connected to the Supermicro motherboard.
\end{itemize}
Supermicro's BIOS has a feature: the BMC IP address shows
up on the post screen!
If you have a KVM cart hooked up to the system, it gives an
indicator of which machine one is connected to during post.
Supermicro does include KVM-over-IP functionality with the motherboard.
\begin{itemize}
\item Default IPMI connection is in cleartext http.
\item SSL certificate for Supermicro IPMI is bad (like all of them).
\item Can't change password on IPMI.
%\item Root password for server and IPMI is sent via email.
%\item There is an attack window between their machine imaging and first login.
%\item Customer should control timing of first power on.
%\item System is also possibly vuln during the ISP's initial power up and commissioning period.
%\item First reboot, the system hung (.png XXX).
%\item Hard reset, lots of DHCP queries at boot.
%\item A \texttt{debian} user was on the system, password unknown. Check \texttt{/home}!
%\item They block NTP to prevent DDoS, so you have to use their time server
% \texttt{time.sharktech.net}
\end{itemize}
\subsection{Supermicro Setup over IPMI bios}
{{\grenewcommand{\currentColor}{secondary-brown}}}
{{\grenewcommand{\currentTextColor}{ao-black}}}
\providecommand{\sharkIPConfigItem}[4]{}
\renewcommand{\sharkIPConfigItem}[4]{
\rowcolor{\currentColor} \vspace{-1pt}
\rule[-0.3em]{0pt}{-0.5em} \vspace{-1pt}
\small{\textcolor{\currentTextColor}{#1}} & \vspace{-1pt}
\small{\textcolor{\currentTextColor}{#2}} \\
}
\providecommand{\sharkIPConfigLastItem}[4]{}
\renewcommand{\sharkIPConfigLastItem}[4]{
\rowcolor{\currentColor} \vspace{-1pt}
\rule[-1.0em]{0pt}{1em} \vspace{-1pt}
\small{\textcolor{\currentTextColor}{#1}} & \vspace{-1pt}
\small{\textcolor{\currentTextColor}{#2}} \\
\tabucline[2pt]{1-2}
}
\providecommand{\SIPCCwidth}{3.5cm}
\renewcommand{\SIPCCwidth}{5cm}
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-ipmi-init.png}
\caption{Supermicro SuperServer 1018D-FRN8T PEI-IPMI Initialization}
\label{fig:supermicroSSCIpmiInit}
\end{figure}
Before IPMI Initialization, choose in Boot Agent GE an entry PXE
(Preboot eXecution Environment)
In Aptio Setup Utility set the following Boot Features:
\begin{table}[!htb]
\caption{sf-fw BIOS configs}% \label{tab:sharkNodeIPConfig}
\begin{tabu}{|[2pt]p{\SIPCCwidth}|[2pt]p{\SIPCCwidth*2}|[2pt]}
\tabucline[2pt]{1-2}
\multicolumn {1}{|[2pt]l|[2pt]}{\rule[-0.7em]{0pt}{2em} \cellcolor{\currentColor}{Boot Feature}}&
\multicolumn {1}{l|[2pt]}{\cellcolor{\currentColor}{Value}} \\
\tabucline[2pt]{1-2}
\sharkIPConfigItem { SMCBiosActionFlag }{ \char`[0\char`] }{}{}
\sharkIPConfigItem { SumBbsSupportFlag }{ 48 }{}{}
\sharkIPConfigLastItem{ Bridge ports }{ \char`[Disabled\char`] }{}{}
\sharkIPConfigItem { SumBbsSupportFlag }{ \char`[Force BIOS\char`] }{}{}
\sharkIPConfigItem { SumBbsSupportFlag }{ \char`[On\char`] }{}{}
\sharkIPConfigItem { SumBbsSupportFlag }{ \char`[Disabled\char`] }{}{}
\sharkIPConfigItem { SumBbsSupportFlag }{ \char`[Immediate\char`] }{}{}
\sharkIPConfigLastItem{ Subnet mask }{ \char`[Disabled\char`] }{}{}
\end{tabu}
\end{table}
Set system Date/Time
\newpage
\subsection*{\textcolor{ao-white}{ Supermicro Setup over IPMI bios1}}
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-ipmi-boot1.png}
\caption{Supermicro SuperServer 1018D-FRN8T Bios prompt for boot-menu}
\label{fig:supermicroSSCIpmiBoot1}
\end{figure}
\begin{table}[!htb]
\caption{sf-fw BIOS configs continued}% \label{tab:sharkNodeIPConfig}
\begin{tabu}{|[2pt]p{\SIPCCwidth}|[2pt]p{\SIPCCwidth*2}|[2pt]}
\tabucline[2pt]{1-2}
\multicolumn {1}{|[2pt]l|[2pt]}{\rule[-0.7em]{0pt}{2em} \cellcolor{\currentColor}{Boot Feature}}&
\multicolumn {1}{l|[2pt]}{\cellcolor{\currentColor}{Value}} \\
\tabucline[2pt]{1-2}
\sharkIPConfigItem { Power Configuration }{}{}{}
\sharkIPConfigItem { Watch Dog Function }{ \char`[Disabled\char`] }{}{}
\sharkIPConfigItem { Power button Function }{ \char`[4 Seconds Override\char`] }{}{}
\sharkIPConfigLastItem{ Subnet mask }{ \char`[Power On\char`] }{}{}
\end{tabu}
\end{table}
\newpage
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-ipmi-boot2.png}
\caption{Supermicro SuperServer 1018D-FRN8T Bootstrap loader}
\label{fig:supermicroSSCIpmiBoot2}
\end{figure}
\begin{table}[!htb]
\caption{sf-fw BIOS configs continued}% \label{tab:sharkNodeIPConfig}
\begin{tabu}{|[2pt]p{\SIPCCwidth}|[2pt]p{\SIPCCwidth*2}|[2pt]}
\tabucline[2pt]{1-2}
\multicolumn {1}{|[2pt]l|[2pt]}{\rule[-0.7em]{0pt}{2em} \cellcolor{\currentColor}{Boot Feature}}&
\multicolumn {1}{l|[2pt]}{\cellcolor{\currentColor}{Value}} \\
\tabucline[2pt]{1-2}
\sharkIPConfigItem { Onboard LAN1 OPROM }{ \char`[Disabled\char`] }{}{}
\sharkIPConfigItem { Onboard LAN2 OPROM }{ \char`[Disabled\char`] }{}{}
\sharkIPConfigLastItem{ Onboard LAN3 - LAN8 OPROM }{ \char`[Disabled\char`] }{}{}
\sharkIPConfigItem { Legacy Boot Order \char`#1}{ \char`[USB Key:Virtual Disk\char`] }{}{}
\sharkIPConfigLastItem{ Legacy Boot Order \char`#2 - \char`#7}{ \char`[Disabled\char`] }{}{}
\end{tabu}
\end{table}
\newpage
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-ipmi-opnsense-boot1.png}
\caption{Supermicro SuperServer OPNsense Boot variant}
\label{fig:supermicroSSCIpmiOpnsenseBoot1}
\end{figure}
Let default option 5 execute.
\begin{table}[!htb]
\caption{sf-fw LSI Corp Config Utility}% \label{tab:sharkNodeIPConfig}
\begin{tabu}{|[2pt]p{\SIPCCwidth}|[2pt]p{\SIPCCwidth*2}|[2pt]}
\tabucline[2pt]{1-2}
\multicolumn {1}{|[2pt]l|[2pt]}{\rule[-0.7em]{0pt}{2em} \cellcolor{\currentColor}{Parameter}}&
\multicolumn {1}{l|[2pt]}{\cellcolor{\currentColor}{Value}} \\
\tabucline[2pt]{1-2}
\sharkIPConfigItem { Adapter }{LSI2116-IT}{}{}
\sharkIPConfigItem { PCI Slot }{0B}{}{}
\sharkIPConfigItem { PCI Address(Bus/Dev) }{02:00}{}{}
\sharkIPConfigItem { MPT Firmware Revision }{20.00.07.00-IT}{}{}
\sharkIPConfigItem { SAS Address }{50030480:1E300A01}{}{}
\sharkIPConfigItem { NVDATA Version }{14.01.40.00}{}{}
\sharkIPConfigItem { Status }{Disabled}{}{}
\sharkIPConfigItem { Boot Order}{0}{}{}
\sharkIPConfigLastItem{ Boot Support}{ \char`[Disabled\char`] }{}{}
\end{tabu}
\end{table}
\newpage
\subsection{Configurate with OPNsense Dashboard}
{{\grenewcommand{\currentColor}{primary-blue}}}
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-opns-dash1.png}
\caption{Supermicro SuperServer OPNsense Dashboard}
\label{fig:supermicroSSCIpmiOpnsenseDash1}
\end{figure}
\begin{table}[!htb]
\caption{sf-fw LSI Corp Config Utility}% \label{tab:sharkNodeIPConfig}
\begin{tabu}{|[2pt]p{\SIPCCwidth}|[2pt]p{\SIPCCwidth*2}|[2pt]}
\tabucline[2pt]{1-2}
\multicolumn {1}{|[2pt]l|[2pt]}{\rule[-0.7em]{0pt}{2em} \cellcolor{\currentColor}{Parameter}}&
\multicolumn {1}{l|[2pt]}{\cellcolor{\currentColor}{Value}} \\
\tabucline[2pt]{1-2}
\sharkIPConfigItem { Hostname }{sf-fw1}{}{}
\sharkIPConfigItem { Domain }{forksand.com}{}{}
\sharkIPConfigItem { Language }{English}{}{}
\sharkIPConfigItem { Primary DNS Server }{216.146.35.35}{}{}
\sharkIPConfigItem { Secondary DNS Server }{208.67.222.222}{}{}
\sharkIPConfigLastItem{ Override DNS }{unchecked}{}{}
\sharkIPConfigLastItem{ Enable Resolver}{checked}{}{}
\sharkIPConfigLastItem{ Others }{leave unchecked}{}{}
\end{tabu}
\end{table}
\begin{itemize}
\item Set server time information
\item Configure WAN interface, DHCP, subnet masks /32, Block .. Flags checked, others empty
\item Configure WAN interface, IP 192.168.1.1 change to 192.168.110.21, subnet mask /24
\item Set Web GUI Password
\item Reload to apply changes
\item Finished initial configuration, click a href "continue to the dashboard"
\item Configure console appears, refer to table
\ref{tab:supermicroSSCIpmiOpnsenseDash2} on p. \pageref{tab:supermicroSSCIpmiOpnsenseDash2}
\item Set root password and reboot
\item Re-enter Aptio Setup Utility Boot tab
\item Switch Legacy Boot Order \char`#1 \char` to [Hard Disk: SATADOM-...\char`]
\item Start the boot
\item OPNsense: Let default option 5 execute
\end{itemize}
{{\grenewcommand{\currentColor}{secondary-brown}}}
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-opns-dash2.png}
\caption{Supermicro SuperServer OPNsense Dashboard Continued}
\label{fig:supermicroSSCIpmiOpnsenseDash2}
\end{figure}
\begin{table}[!htb]
\caption{sf-fw LSI Corp Config Utility} \label{tab:supermicroSSCIpmiOpnsenseDash2}
\begin{tabu}{|[2pt]p{\SIPCCwidth}|[2pt]p{\SIPCCwidth*2}|[2pt]}
\tabucline[2pt]{1-2}
\multicolumn {1}{|[2pt]l|[2pt]}{\rule[-0.7em]{0pt}{2em} \cellcolor{\currentColor}{Parameter}}&
\multicolumn {1}{l|[2pt]}{\cellcolor{\currentColor}{Value}} \\
\tabucline[2pt]{1-2}
\sharkIPConfigItem { Configure Console }{Accept these Settings}{}{}
\sharkIPConfigItem { Select task }{Guided installation}{}{}
\sharkIPConfigItem { Select a disk }{ada0: 600.00MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes)}{}{}
\sharkIPConfigItem { Select install mode }{GPT/UEFI mode}{}{}
\sharkIPConfigItem { Swap Partition }{yes}{}{}
\sharkIPConfigLastItem{ Enable Resolver}{checked}{}{}
\end{tabu}
\end{table}
{{\grenewcommand{\currentColor}{primary-blue}}}
\subsection{Update OPNsense Firmware using Dashboard}
\begin{itemize}
\item Enter OPNsense dashboard and make a backup, System -> Configuration -> Backups, save the XML
\item Execute update firmware, refer to figure
\ref{fig:supermicroSSCIpmiOpnsenseDash3} on p. \pageref{fig:supermicroSSCIpmiOpnsenseDash3}
\end{itemize}
\newpage
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-opns-dash3-update.png}
\caption{Supermicro SuperServer OPNsense Dashboard Update Firmware}
\label{fig:supermicroSSCIpmiOpnsenseDash3}
\end{figure}
\begin{itemize}
\item Standby until updating finished, refer to figure
\ref{fig:supermicroSSCIpmiOpnsenseDash4} on p. \pageref{fig:supermicroSSCIpmiOpnsenseDash4}
\item Switch to tab Settings, refer to figure
\ref{fig:supermicroSSCIpmiOpnsenseDash5} on p. \pageref{fig:supermicroSSCIpmiOpnsenseDash5}
\end{itemize}
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-opns-dash4-update.png}
\caption{Supermicro SuperServer OPNsense Dashboard Update Firmware Continued}
\label{fig:supermicroSSCIpmiOpnsenseDash4}
\end{figure}
\newpage
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-opns-dash5-fw.png}
\caption{Supermicro SuperServer OPNsense Dashboard Firmware Settings}
\label{fig:supermicroSSCIpmiOpnsenseDash5}
\end{figure}
\begin{itemize}
\item Set mirror to LeaseWeb (San Francisco, US)
\item Set Flavour to LibreSSL
\item Set Release Type to Production
\item Click save and return to Updates tab.
\end{itemize}
\newpage
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-opns-dash6-fw-updates.png}
\caption{Supermicro SuperServer OPNsense Dashboard Firmware Pending Updates}
\label{fig:supermicroSSCIpmiOpnsenseDash6}
\end{figure}
\begin{itemize}
\item Click Update now.
\item Standby until Update is completed.
\item Restore configs from XML, refer to figure
\ref{fig:supermicroSSCIpmiOpnsenseDash8} on p. \pageref{fig:supermicroSSCIpmiOpnsenseDash8}
\end{itemize}
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-opns-dash7-fw-update.png}
\caption{Supermicro SuperServer OPNsense Dashboard Firmware Update Processing}
\label{fig:supermicroSSCIpmiOpnsenseDash7}
\end{figure}
\newpage
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-opns-dash8-fw-backupandreboot.png}
\caption{Supermicro SuperServer OPNsense Dashboard restore from XML config backup}
\label{fig:supermicroSSCIpmiOpnsenseDash8}
\end{figure}
\begin{itemize}
\item Upload the config and restore
\item Add a user, refer to figure
\ref{fig:supermicroSSCIpmiOpnsenseDash9} on p. \pageref{fig:supermicroSSCIpmiOpnsenseDash9}
using parameters from table
\ref{tab:supermicroSSCIpmiOpnsenseAddUser} on p. \pageref{tab:supermicroSSCIpmiOpnsenseAddUser}
\end{itemize}
\newpage
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-opns-dash9-user.png}
\caption{Supermicro SuperServer OPNsense Dashboard Add User}
\label{fig:supermicroSSCIpmiOpnsenseDash9}
\end{figure}
\begin{table}[!htb]
\caption{sf-fw OPNsense Dashboard Add User} \label{tab:supermicroSSCIpmiOpnsenseAddUser}
\begin{tabu}{|[2pt]p{\SIPCCwidth}|[2pt]p{\SIPCCwidth*2}|[2pt]}
\tabucline[2pt]{1-2}
\multicolumn {1}{|[2pt]l|[2pt]}{\rule[-0.7em]{0pt}{2em} \cellcolor{\currentColor}{Parameter}}&
\multicolumn {1}{l|[2pt]}{\cellcolor{\currentColor}{Value}} \\
\tabucline[2pt]{1-2}
\sharkIPConfigItem { Username }{jebba}{}{}
\sharkIPConfigItem { Disabled }{unchecked}{}{}
\sharkIPConfigItem { Full name }{Jeff Moe}{}{}
\sharkIPConfigItem { E-mail }{moe@forksand.com}{}{}
\sharkIPConfigItem { Comment }{}{}{}
\sharkIPConfigItem { Expiration date }{}{}{}
\sharkIPConfigLastItem{ Group Memberships }{Member of admins}{}{}
\sharkIPConfigItem { Certificate }{unchecked}{}{}
\sharkIPConfigLastItem{ OTP seed }{}{}{}
\end{tabu}
\end{table}
\newpage
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-opns-dash10-dhcpv4.png}
\caption{Supermicro SuperServer OPNsense Dashboard DHCPv4}
\label{fig:supermicroSSCIpmiOpnsenseDash10}
\end{figure}
\begin{itemize}
\item Disable DHCPv4
\end{itemize}
\begin{table}[!htb]
\caption{sf-fw OPNsense Dashboard DHCPv4} \label{tab:supermicroSSCIpmiOpnsenseDhcpv4}
\begin{tabu}{|[2pt]p{\SIPCCwidth}|[2pt]p{\SIPCCwidth*2}|[2pt]}
\tabucline[2pt]{1-2}
\multicolumn {1}{|[2pt]l|[2pt]}{\rule[-0.7em]{0pt}{2em} \cellcolor{\currentColor}{Parameter}}&
\multicolumn {1}{l|[2pt]}{\cellcolor{\currentColor}{Value}} \\
\tabucline[2pt]{1-2}
\sharkIPConfigItem { Enable }{unchecked}{}{}
\sharkIPConfigItem { Deny unknown clients }{unchecked}{}{}
\sharkIPConfigItem { Subnet }{192.168.110.0}{}{}
\sharkIPConfigItem { Subnet mask }{255.255.255.0}{}{}
\sharkIPConfigLastItem{ Range }{192.168.110.10 - 192.168.110.245}{}{}
\sharkIPConfigLastItem{ Others }{leave unchanged}{}{}
\end{tabu}
\end{table}
\newpage
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-opns-dash11-plugins.png}
\includegraphics[keepaspectratio=true,trim=360mm 190mm 10mm 80mm,clip,width=1.0\textwidth,angle=0]
{sf-fw/ssc-opns-dash11-plugins.png}
\caption{Supermicro SuperServer OPNsense Dashboard Plugin Installation}
\label{fig:supermicroSSCIpmiOpnsenseDash11}
\end{figure}
\begin{itemize}
\item Make sure os-dyndns plugin installed
\item Install os-acme-client
\end{itemize}
%\begin{table}[!htb]
% \caption{sf-fw OPNsense Dashboard Plugins} \label{tab:supermicroSSCIpmiOpnsensePlugins}
% \begin{tabu}{|[2pt]p{\SIPCCwidth}|[2pt]p{\SIPCCwidth*2}|[2pt]}
% \tabucline[2pt]{1-2}
% \multicolumn {1}{|[2pt]l|[2pt]}{\rule[-0.7em]{0pt}{2em} \cellcolor{\currentColor}{Parameter}}&
% \multicolumn {1}{l|[2pt]}{\cellcolor{\currentColor}{Value}} \\
% \tabucline[2pt]{1-2}
% \sharkIPConfigItem { Enable }{unchecked}{}{}
% \sharkIPConfigItem { Deny unknown clients }{unchecked}{}{}
% \sharkIPConfigItem { Subnet }{192.168.110.0}{}{}
% \sharkIPConfigItem { Subnet mask }{255.255.255.0}{}{}
% \sharkIPConfigLastItem{ Range }{192.168.110.10 - 192.168.110.245}{}{}
% \sharkIPConfigLastItem{ Others }{leave unchanged}{}{}
% \end{tabu}
%\end{table}
\newpage
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-opns-dash12-lea.png}
\caption{Supermicro SuperServer OPNsense Dashboard add Let's Encrypt account}
\label{fig:supermicroSSCIpmiOpnsenseDash12}
\end{figure}
\begin{itemize}
\item Add Let's Encrypt account
\item Modify global Let's Encrypt settings
\item Apply Let's Encrypt settings
\item Refer to Certificates menu
\end{itemize}
\begin{table}[!htb]
\caption{sf-fw OPNsense Dashboard Let's Encrypt account and settings} \label{tab:supermicroSSCIpmiOpnsenseLea}
\begin{tabu}{|[2pt]p{\SIPCCwidth}|[2pt]p{\SIPCCwidth*2}|[2pt]}
\tabucline[2pt]{1-2}
\multicolumn {1}{|[2pt]l|[2pt]}{\rule[-0.7em]{0pt}{2em} \cellcolor{\currentColor}{Parameter}}&
\multicolumn {1}{l|[2pt]}{\cellcolor{\currentColor}{Value}} \\
\tabucline[2pt]{1-2}
\sharkIPConfigItem { Enable }{checked}{}{}
\sharkIPConfigItem { Name }{sf-fw1}{}{}
\sharkIPConfigItem { Description }{\Gls{sharkfork} \Gls{firewall} 1}{}{}
\sharkIPConfigLastItem{ E-Mail address }{sharkfork@forksand.com}{}{}
\sharkIPConfigItem { Enable Plugin }{checked}{}{}
\sharkIPConfigItem { Auto Renewal }{checked}{}{}
\sharkIPConfigItem { Let's Encrypt Environment }{Production Environment \char`[Default\char`]}{}{}
\sharkIPConfigLastItem{ HAProxy Integration }{unchecked}{}{}
\end{tabu}
\end{table}
\newpage
%\begin{figure}[!htb]
% \includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
% {sf-fw/ssc-opns-dash13-cert.png}
% \caption{Supermicro SuperServer OPNsense Dashboard add Certificate}
% \label{fig:supermicroSSCIpmiOpnsenseDash12}
%\end{figure}
\begin{itemize}
\item Add Validation Method
\item Add Certificate
\item Apply ``Issue/Renew Certificates Now''
\end{itemize}
\begin{table}[!htb]
\caption{sf-fw OPNsense Dashboard Let's Encrypt validation} \label{tab:supermicroSSCIpmiOpnsenseLeaValid}
\begin{tabu}{|[2pt]p{\SIPCCwidth}|[2pt]p{\SIPCCwidth*2}|[2pt]}
\tabucline[2pt]{1-2}
\multicolumn {1}{|[2pt]l|[2pt]}{\rule[-0.7em]{0pt}{2em} \cellcolor{\currentColor}{Parameter}}&
\multicolumn {1}{l|[2pt]}{\cellcolor{\currentColor}{Value}} \\
\tabucline[2pt]{1-2}
\sharkIPConfigItem { Validation Method }{}{}{}
\sharkIPConfigItem { Enable }{checked}{}{}
\sharkIPConfigItem { Name }{sf-fw1-http}{}{}
\sharkIPConfigItem { Description }{\Gls{sharkfork} \Gls{firewall} 1 http validation}{}{}
\sharkIPConfigLastItem{ Challenge Type }{HTTP-01}{}{}
\sharkIPConfigLastItem{ HTTP Service }{OPNsense Web Service (automatic port forward)}{}{}
\sharkIPConfigItem { IP Auto-Discovery }{checked}{}{}
\sharkIPConfigItem { Interface }{WAN}{}{}
\sharkIPConfigLastItem{ IP Addresses }{}{}{}
\tabucline[2pt]{1-2}
\sharkIPConfigItem { Certificate }{}{}{}
\sharkIPConfigItem { Enable }{checked}{}{}
\sharkIPConfigItem { Common Name }{sf-fw1.forksand.com}{}{}
\sharkIPConfigItem { Description }{\Gls{sharkfork} \Gls{firewall} 1}{}{}
\sharkIPConfigItem { Alt Names }{}{}{}
\sharkIPConfigItem { LE Account }{sf-fw1}{}{}
\sharkIPConfigItem { Validation Method }{sf-fw1-http}{}{}
\sharkIPConfigItem { Restart Actions }{}{}{}
\sharkIPConfigItem { Auto Renewal }{checked}{}{}
\sharkIPConfigLastItem{ Renewal Interval }{60}{}{}
\tabucline[2pt]{1-2}
\sharkIPConfigItem { Interfaces -\char`> Lan }{}{}{}
\sharkIPConfigItem { Enable }{checked}{}{}
\sharkIPConfigItem { Lock }{checked}{}{}
\sharkIPConfigItem { Description }{LAN}{}{}
\sharkIPConfigItem { IPv4 Configuration Type }{Static IPv4}{}{}
\sharkIPConfigLastItem{ IPv6 Configuration Type }{none}{}{}
\end{tabu}
\end{table}
\begin{itemize}
\item Refer to System -\char`> Gateways -\char`> Single -\char`> WAN\char`_DHCP6
\item Set Disabled flag to checked
\item Press Apply changes
\item Modify LAN and WAN interfaces, disable IPv6 at both
\item Modify \Gls{firewall} Rules, disable IPv6
\item Add new rula to \Gls{firewall} Rules WAN
\end{itemize}
\begin{table}[!htb]
\caption{sf-fw OPNsense Dashboard \Gls{firewall} Rules} \label{tab:supermicroSSCIpmiOpnsenseLeaRules}
\begin{tabu}{|[2pt]p{\SIPCCwidth}|[2pt]p{\SIPCCwidth*2}|[2pt]}
\tabucline[2pt]{1-2}
\multicolumn {1}{|[2pt]l|[2pt]}{\rule[-0.7em]{0pt}{2em} \cellcolor{\currentColor}{Parameter}}&
\multicolumn {1}{l|[2pt]}{\cellcolor{\currentColor}{Value}} \\
\tabucline[2pt]{1-2}
\sharkIPConfigItem { Interfaces -\char`> WAN }{}{}{}
\sharkIPConfigItem { Enable }{checked}{}{}
\sharkIPConfigItem { Lock }{checked}{}{}
\sharkIPConfigItem { Description }{WAN}{}{}
\sharkIPConfigItem { IPv4 Configuration Type }{DHCP}{}{}
\sharkIPConfigLastItem{ IPv6 Configuration Type }{none}{}{}
\tabucline[2pt]{1-2}
\sharkIPConfigItem { \Gls{firewall} -\char`> Settings -\char`> Advanced }{}{}{}
\sharkIPConfigLastItem{ Allow IPv6 }{unchecked}{}{}
\tabucline[2pt]{1-2}
\sharkIPConfigItem { \Gls{firewall} -\char`> Rules -\char`> WAN }{}{}{}
\sharkIPConfigItem { Action }{Pass}{}{}
\sharkIPConfigItem { Disabled }{unchecked}{}{}
\sharkIPConfigItem { Interface }{WAN}{}{}
\sharkIPConfigItem { TCP/IP Version }{IPv4}{}{}
\sharkIPConfigItem { Protocol }{TCP}{}{}
\sharkIPConfigItem { Source/Invert }{unchecked}{}{}
\sharkIPConfigItem { Source }{any}{}{}
\sharkIPConfigItem { Destination/Invert }{unchecked}{}{}
\sharkIPConfigItem { Destination }{This \Gls{firewall}}{}{}
\sharkIPConfigItem { Destination port range }{https to https}{}{}
\sharkIPConfigItem { Log }{unchecked}{}{}
\sharkIPConfigItem { Category }{}{}{}
\sharkIPConfigItem { Discription }{Enable https to \Gls{firewall}}{}{}
\sharkIPConfigItem { Source OS }{Any}{}{}
\sharkIPConfigItem { No XMLRPC Sync }{unchecked}{}{}
\sharkIPConfigItem { Shedule }{none}{}{}
\sharkIPConfigLastItem{ Gateway }{default}{}{}
\end{tabu}
\end{table}
\newpage
\section{Alternatives Hardware Overview}
Some resellers:
\begin{itemize}
\item \url{https://www.deciso.com/}
\item \url{https://www.pfwhardware.com/}
\item \url{https://www.osnet.eu/}
\end{itemize}
\begin{itemize}
\item (8) 1 gig ethernet ports
Connects to (1) 100M ethernet upstream fiber optic
Connects to (1) 100M ethernet upstream wifi
Various LAN
\item (Hot swap?) Dual Power Supplies
\item (How swap?) RAID (Linux md), with SSD storage.
\item 2.5'' drive bays
\item Total ~8GHz CPU
\item ~8-16 gigs RAM ? Depends on OS.
\item Two servers total, for standby/failover
\end{itemize}

570
source/Firewalls.tex

@ -10,581 +10,38 @@
% This document is licensed under the Creative Commons Attribution 4.0
% International Public License (CC BY-SA 4.0) by Fork Sand, Inc.
%
Firewalls keep the bad packets out, mostly. And let some good packets out.
\Glspl{firewall} keep the bad packets out, mostly. And let some good packets out.
\section{Overview}
What is the network doing?
\begin{itemize}
\item snort
\item MRTG
\item Aguri
%\item MRTG
%\item Aguri
\end{itemize}
\section{Authentication}
Two-factor authentication using TOTP.
\section{Firewall Hardware Overview}
Hardware.
\begin{itemize}
\item OPNsense is based on FreeBSD \\ \url{https://opnsense.org/}
\\ \url{https://wiki.opnsense.org/index.html}
\item Iris FW1100 datasheet \\ \url{https://www.supermicro.com/products/system/1U/1018/SYS-1018D-FRN8T.cfm}
\end{itemize}
The Supermicro SuperServer 1018D-FRN8T is a 1U server with front I/O.
That means that both the rear I/O ports as well as the I/O expansion
ports are found along the front side of the rack. In many cases this
is a desirable configuration as it can make cabling very simple.
\begin{figure}[!ht]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ss-front.png}
\caption{Supermicro SuperServer 1018D-FRN8T Front}
\label{fig:supermicroSSfront}
\end{figure}
The rear of the unit has a redundant 400W power supply. Rated at 80
Plus Platinum the power supplies are efficient as well. The remainder
of the rear is simply a bezel for fans.
\begin{figure}[!ht]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ss-rear.png}
\caption{Supermicro SuperServer 1018D-FRN8T Rear}
\label{fig:supermicroSSrear}
\end{figure}
The onboard I/O is plentiful. There are two USB 3.0 ports along with
a VGA port for KVM carts. Above the USB ports there is a RJ-45
Ethernet port for out-0f-band management that can be directly
connected to a dedicated management network.
%-------------------
Furthermore there are
six 1GbE ports connected to two Intel i210-at controllers and an
Intel i350-am4 controller. The two SFP+ ports are controlled by the
Xeon D’s Intel X552 NIC. For firewalls and other appliances, this is
a very strong configuration.
\begin{figure}[!ht]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/iris-fw1100-front.png}
\caption{Supermicro SuperServer 1018D-FRN8T interfaces}
\label{fig:supermicroSSinterfaces}
\end{figure}
Inside the system we see a redundant set of fans near the PSU bezel
and a very small motherboard inside. One can see our two stacks of
Seagate Enterprise Capacity V3 1TB 7200rpm drives as well. We removed
the PCIe riser and the airflow shroud from this picture to show off
the internals better.
\begin{figure}[!ht]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ss-noshroud.png}
\caption{Supermicro SuperServer 1018D-FRN8T Internal no shroud}
\label{fig:supermicroSSnoshroud}
\end{figure}
\subsection{Remote Management}
Supermicro’s IPMI and KVM-over-IP enables deployment flexibility.
One can do remote power up, power down, and reset of the server in
the event that it becomes unresponsive.
\begin{itemize}
\item fan speeds, chassis intrusion sensors, thermal sensors,
and etc. can be monitored remotely
\item remote power control. One can do remote power up, power
down, and reset of the server in the event that it becomes
unresponsive.
\item alerts can be setup to notify the admins of issues.
\item remotely mount CD images and floppy images to the machine
over the dedicated management Ethernet controller. This keeps
maintenance traffic off of the primary Intel NICs.
At the same time it removes the need for an optical disk to
be connected to the Supermicro motherboard.
\end{itemize}
Supermicro’s BIOS has a feature: the BMC IP address shows
up on the post screen!
If you have a KVM cart hooked up to the system, it gives an
indicator of which machine one is connected to during post.
Supermicro does include KVM-over-IP functionality with the motherboard.
\begin{itemize}
\item Default IPMI connection is in cleartext http.
\item SSL certificate for Supermicro IPMI is bad (like all of them).
\item Can't change password on IPMI.
%\item Root password for server and IPMI is sent via email.
%\item There is an attack window between their machine imaging and first login.
%\item Customer should control timing of first power on.
%\item System is also possibly vuln during the ISP's initial power up and commissioning period.
%\item First reboot, the system hung (.png XXX).
%\item Hard reset, lots of DHCP queries at boot.
%\item A \texttt{debian} user was on the system, password unknown. Check \texttt{/home}!
%\item They block NTP to prevent DDoS, so you have to use their time server
% \texttt{time.sharktech.net}
\end{itemize}
\subsection{Supermicro Setup over IPMI bios}
{{\grenewcommand{\currentColor}{secondary-brown}}}
{{\grenewcommand{\currentTextColor}{ao-black}}}
\providecommand{\sharkIPConfigItem}[4]{}
\renewcommand{\sharkIPConfigItem}[4]{
\rowcolor{\currentColor} \vspace{-1pt}
\rule[-0.3em]{0pt}{-0.5em} \vspace{-1pt}
\small{\textcolor{\currentTextColor}{#1}} & \vspace{-1pt}
\small{\textcolor{\currentTextColor}{#2}} \\
}
\providecommand{\sharkIPConfigLastItem}[4]{}
\renewcommand{\sharkIPConfigLastItem}[4]{
\rowcolor{\currentColor} \vspace{-1pt}
\rule[-1.0em]{0pt}{1em} \vspace{-1pt}
\small{\textcolor{\currentTextColor}{#1}} & \vspace{-1pt}
\small{\textcolor{\currentTextColor}{#2}} \\
\tabucline[2pt]{1-2}
}
\providecommand{\SIPCCwidth}{3.5cm}
\renewcommand{\SIPCCwidth}{5cm}
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-ipmi-init.png}
\caption{Supermicro SuperServer 1018D-FRN8T PEI-IPMI Initialization}
\label{fig:supermicroSSCIpmiInit}
\end{figure}
Before IPMI Initialization, choose in Boot Agent GE an entry PXE
(Preboot eXecution Environment)
In Aptio Setup Utility set the following Boot Features:
\begin{table}[!htb]
\caption{sf-fw BIOS configs}% \label{tab:sharkNodeIPConfig}
\begin{tabu}{|[2pt]p{\SIPCCwidth}|[2pt]p{\SIPCCwidth*2}|[2pt]}
\tabucline[2pt]{1-2}
\multicolumn {1}{|[2pt]l|[2pt]}{\rule[-0.7em]{0pt}{2em} \cellcolor{\currentColor}{Boot Feature}}&
\multicolumn {1}{l|[2pt]}{\cellcolor{\currentColor}{Value}} \\
\tabucline[2pt]{1-2}
\sharkIPConfigItem { SMCBiosActionFlag }{ \char`[0\char`] }{}{}
\sharkIPConfigItem { SumBbsSupportFlag }{ 48 }{}{}
\sharkIPConfigLastItem{ Bridge ports }{ \char`[Disabled\char`] }{}{}
\sharkIPConfigItem { SumBbsSupportFlag }{ \char`[Force BIOS\char`] }{}{}
\sharkIPConfigItem { SumBbsSupportFlag }{ \char`[On\char`] }{}{}
\sharkIPConfigItem { SumBbsSupportFlag }{ \char`[Disabled\char`] }{}{}
\sharkIPConfigItem { SumBbsSupportFlag }{ \char`[Immediate\char`] }{}{}
\sharkIPConfigLastItem{ Subnet mask }{ \char`[Disabled\char`] }{}{}
\end{tabu}
\end{table}
Set system Date/Time
\newpage
\subsection*{\textcolor{ao-white}{ Supermicro Setup over IPMI bios1}}
\begin{figure}[!ht]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-ipmi-boot1.png}
\caption{Supermicro SuperServer 1018D-FRN8T Bios prompt for boot-menu}
\label{fig:supermicroSSCIpmiBoot1}
\end{figure}
\begin{table}[!htb]
\caption{sf-fw BIOS configs continued}% \label{tab:sharkNodeIPConfig}
\begin{tabu}{|[2pt]p{\SIPCCwidth}|[2pt]p{\SIPCCwidth*2}|[2pt]}
\tabucline[2pt]{1-2}
\multicolumn {1}{|[2pt]l|[2pt]}{\rule[-0.7em]{0pt}{2em} \cellcolor{\currentColor}{Boot Feature}}&
\multicolumn {1}{l|[2pt]}{\cellcolor{\currentColor}{Value}} \\
\tabucline[2pt]{1-2}
\sharkIPConfigItem { Power Configuration }{}{}{}
\sharkIPConfigItem { Watch Dog Function }{ \char`[Disabled\char`] }{}{}
\sharkIPConfigItem { Power button Function }{ \char`[4 Seconds Override\char`] }{}{}
\sharkIPConfigLastItem{ Subnet mask }{ \char`[Power On\char`] }{}{}
\end{tabu}
\end{table}
\newpage
\begin{figure}[!ht]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-ipmi-boot2.png}
\caption{Supermicro SuperServer 1018D-FRN8T Bootstrap loader}
\label{fig:supermicroSSCIpmiBoot2}
\end{figure}
\begin{table}[!htb]
\caption{sf-fw BIOS configs continued}% \label{tab:sharkNodeIPConfig}
\begin{tabu}{|[2pt]p{\SIPCCwidth}|[2pt]p{\SIPCCwidth*2}|[2pt]}
\tabucline[2pt]{1-2}
\multicolumn {1}{|[2pt]l|[2pt]}{\rule[-0.7em]{0pt}{2em} \cellcolor{\currentColor}{Boot Feature}}&
\multicolumn {1}{l|[2pt]}{\cellcolor{\currentColor}{Value}} \\
\tabucline[2pt]{1-2}
\sharkIPConfigItem { Onboard LAN1 OPROM }{ \char`[Disabled\char`] }{}{}
\sharkIPConfigItem { Onboard LAN2 OPROM }{ \char`[Disabled\char`] }{}{}
\sharkIPConfigLastItem{ Onboard LAN3 - LAN8 OPROM }{ \char`[Disabled\char`] }{}{}
\sharkIPConfigItem { Legacy Boot Order \char`#1}{ \char`[USB Key:Virtual Disk\char`] }{}{}
\sharkIPConfigLastItem{ Legacy Boot Order \char`#2 - \char`#7}{ \char`[Disabled\char`] }{}{}
\end{tabu}
\end{table}
\newpage
\begin{figure}[!ht]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-ipmi-opnsense-boot1.png}
\caption{Supermicro SuperServer OPNsense Boot variant}
\label{fig:supermicroSSCIpmiOpnsenseBoot1}
\end{figure}
Let default option 5 execute.
\begin{table}[!htb]
\caption{sf-fw LSI Corp Config Utility}% \label{tab:sharkNodeIPConfig}
\begin{tabu}{|[2pt]p{\SIPCCwidth}|[2pt]p{\SIPCCwidth*2}|[2pt]}
\tabucline[2pt]{1-2}
\multicolumn {1}{|[2pt]l|[2pt]}{\rule[-0.7em]{0pt}{2em} \cellcolor{\currentColor}{Parameter}}&
\multicolumn {1}{l|[2pt]}{\cellcolor{\currentColor}{Value}} \\
\tabucline[2pt]{1-2}
\sharkIPConfigItem { Adapter }{LSI2116-IT}{}{}
\sharkIPConfigItem { PCI Slot }{0B}{}{}
\sharkIPConfigItem { PCI Address(Bus/Dev) }{02:00}{}{}
\sharkIPConfigItem { MPT Firmware Revision }{20.00.07.00-IT}{}{}
\sharkIPConfigItem { SAS Address }{50030480:1E300A01}{}{}
\sharkIPConfigItem { NVDATA Version }{14.01.40.00}{}{}
\sharkIPConfigItem { Status }{Disabled}{}{}
\sharkIPConfigItem { Boot Order}{0}{}{}
\sharkIPConfigLastItem{ Boot Support}{ \char`[Disabled\char`] }{}{}
\end{tabu}
\end{table}
\newpage
{{\grenewcommand{\currentColor}{primary-blue}}}
\begin{figure}[!ht]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-opns-dash1.png}
\caption{Supermicro SuperServer OPNsense Dashboard}
\label{fig:supermicroSSCIpmiOpnsenseDash1}
\end{figure}
\begin{table}[!htb]
\caption{sf-fw LSI Corp Config Utility}% \label{tab:sharkNodeIPConfig}
\begin{tabu}{|[2pt]p{\SIPCCwidth}|[2pt]p{\SIPCCwidth*2}|[2pt]}
\tabucline[2pt]{1-2}
\multicolumn {1}{|[2pt]l|[2pt]}{\rule[-0.7em]{0pt}{2em} \cellcolor{\currentColor}{Parameter}}&
\multicolumn {1}{l|[2pt]}{\cellcolor{\currentColor}{Value}} \\
\tabucline[2pt]{1-2}
\sharkIPConfigItem { Hostname }{sf-fw1}{}{}
\sharkIPConfigItem { Domain }{forksand.com}{}{}
\sharkIPConfigItem { Language }{English}{}{}
\sharkIPConfigItem { Primary DNS Server }{216.146.35.35}{}{}
\sharkIPConfigItem { Secondary DNS Server }{208.67.222.222}{}{}
\sharkIPConfigLastItem{ Override DNS }{unchecked}{}{}
\sharkIPConfigLastItem{ Enable Resolver}{checked}{}{}
\sharkIPConfigLastItem{ Others }{leave unchecked}{}{}
\end{tabu}
\end{table}
\begin{itemize}
\item Set server time information
\item Configure WAN interface, DHCP, subnet masks /32, Block .. Flags checked, others empty
\item Configure WAN interface, IP 192.168.1.1 change to 192.168.110.21, subnet mask /24
\item Set Web GUI Password
\item Reload to apply changes
\item Finished initial configuration, click a href "continue to the dashboard"
\item Configure console appears, refer to table
\ref{tab:supermicroSSCIpmiOpnsenseDash2} on p. \pageref{tab:supermicroSSCIpmiOpnsenseDash2}
\item Set root password and reboot
\item Re-enter Aptio Setup Utility Boot tab
\item Switch Legacy Boot Order \char`#1 \char` to [Hard Disk: SATADOM-...\char`]
\item Start the boot
\item OPNsense: Let default option 5 execute
\end{itemize}
{{\grenewcommand{\currentColor}{secondary-brown}}}
\begin{figure}[!ht]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-opns-dash2.png}
\caption{Supermicro SuperServer OPNsense Dashboard Continued}
\label{fig:supermicroSSCIpmiOpnsenseDash2}
\end{figure}
\begin{table}[!htb]
\caption{sf-fw LSI Corp Config Utility} \label{tab:supermicroSSCIpmiOpnsenseDash2}
\begin{tabu}{|[2pt]p{\SIPCCwidth}|[2pt]p{\SIPCCwidth*2}|[2pt]}
\tabucline[2pt]{1-2}
\multicolumn {1}{|[2pt]l|[2pt]}{\rule[-0.7em]{0pt}{2em} \cellcolor{\currentColor}{Parameter}}&
\multicolumn {1}{l|[2pt]}{\cellcolor{\currentColor}{Value}} \\
\tabucline[2pt]{1-2}
\sharkIPConfigItem { Configure Console }{Accept these Settings}{}{}
\sharkIPConfigItem { Select task }{Guided installation}{}{}
\sharkIPConfigItem { Select a disk }{ada0: 600.00MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes)}{}{}
\sharkIPConfigItem { Select install mode }{GPT/UEFI mode}{}{}
\sharkIPConfigItem { Swap Partition }{yes}{}{}
\sharkIPConfigLastItem{ Enable Resolver}{checked}{}{}
\end{tabu}
\end{table}
{{\grenewcommand{\currentColor}{primary-blue}}}
\begin{itemize}
\item Enter OPNsense dashboard and make a backup, System -> Configuration -> Backups, save the XML
\item Execute update firmware, refer to figure
\ref{fig:supermicroSSCIpmiOpnsenseDash3} on p. \pageref{fig:supermicroSSCIpmiOpnsenseDash3}
\end{itemize}
\newpage
\begin{figure}[!ht]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-opns-dash3-update.png}
\caption{Supermicro SuperServer OPNsense Dashboard Update Firmware}
\label{fig:supermicroSSCIpmiOpnsenseDash3}
\end{figure}
\begin{itemize}
\item Standby until updating finished, refer to figure
\ref{fig:supermicroSSCIpmiOpnsenseDash4} on p. \pageref{fig:supermicroSSCIpmiOpnsenseDash4}
\item Switch to tab Settings, refer to figure
\ref{fig:supermicroSSCIpmiOpnsenseDash5} on p. \pageref{fig:supermicroSSCIpmiOpnsenseDash5}
\end{itemize}
\begin{figure}[!ht]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-opns-dash4-update.png}
\caption{Supermicro SuperServer OPNsense Dashboard Update Firmware Continued}
\label{fig:supermicroSSCIpmiOpnsenseDash4}
\end{figure}
\newpage
\begin{figure}[!ht]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-opns-dash5-fw.png}
\caption{Supermicro SuperServer OPNsense Dashboard Firmware Settings}
\label{fig:supermicroSSCIpmiOpnsenseDash5}
\end{figure}
\begin{itemize}
\item Set mirror to LeaseWeb (San Francisco, US)
\item Set Flavour to LibreSSL
\item Set Release Type to Production
\item Click save and return to Updates tab.
\end{itemize}
\newpage
\begin{figure}[!ht]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-opns-dash6-fw-updates.png}
\caption{Supermicro SuperServer OPNsense Dashboard Firmware Pending Updates}
\label{fig:supermicroSSCIpmiOpnsenseDash6}
\end{figure}
\begin{itemize}
\item Click Update now.
\item Standby until Update is completed.
\item Restore configs from XML, refer to figure
\ref{fig:supermicroSSCIpmiOpnsenseDash8} on p. \pageref{fig:supermicroSSCIpmiOpnsenseDash8}
\end{itemize}
\begin{figure}[!ht]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-opns-dash7-fw-update.png}
\caption{Supermicro SuperServer OPNsense Dashboard Firmware Update Processing}
\label{fig:supermicroSSCIpmiOpnsenseDash7}
\end{figure}
\newpage
\begin{figure}[!ht]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-opns-dash8-fw-backupandreboot.png}
\caption{Supermicro SuperServer OPNsense Dashboard restore from XML config backup}
\label{fig:supermicroSSCIpmiOpnsenseDash8}
\end{figure}
\begin{itemize}
\item Upload the config and restore
\item Add a user, refer to figure
\ref{fig:supermicroSSCIpmiOpnsenseDash9} on p. \pageref{fig:supermicroSSCIpmiOpnsenseDash9}
using parameters from table
\ref{tab:supermicroSSCIpmiOpnsenseAddUser} on p. \pageref{tab:supermicroSSCIpmiOpnsenseAddUser}
\end{itemize}
\newpage
\begin{figure}[!ht]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-opns-dash9-user.png}
\caption{Supermicro SuperServer OPNsense Dashboard Add User}
\label{fig:supermicroSSCIpmiOpnsenseDash9}
\end{figure}
\begin{table}[!htb]
\caption{sf-fw OPNsense Dashboard Add User} \label{tab:supermicroSSCIpmiOpnsenseAddUser}
\begin{tabu}{|[2pt]p{\SIPCCwidth}|[2pt]p{\SIPCCwidth*2}|[2pt]}
\tabucline[2pt]{1-2}
\multicolumn {1}{|[2pt]l|[2pt]}{\rule[-0.7em]{0pt}{2em} \cellcolor{\currentColor}{Parameter}}&
\multicolumn {1}{l|[2pt]}{\cellcolor{\currentColor}{Value}} \\
\tabucline[2pt]{1-2}
\sharkIPConfigItem { Username }{jebba}{}{}
\sharkIPConfigItem { Disabled }{unchecked}{}{}
\sharkIPConfigItem { Full name }{Jeff Moe}{}{}
\sharkIPConfigItem { E-mail }{moe@forksand.com}{}{}
\sharkIPConfigItem { Comment }{}{}{}
\sharkIPConfigItem { Expiration date }{}{}{}
\sharkIPConfigLastItem{ Group Memberships }{Member of admins}{}{}
\sharkIPConfigItem { Certificate }{unchecked}{}{}
\sharkIPConfigLastItem{ OTP seed }{}{}{}
\end{tabu}
\end{table}
\newpage
\begin{figure}[!ht]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-opns-dash10-dhcpv4.png}
\caption{Supermicro SuperServer OPNsense Dashboard DHCPv4}
\label{fig:supermicroSSCIpmiOpnsenseDash10}
\end{figure}
\begin{itemize}
\item Disable DHCPv4
\end{itemize}
\begin{table}[!htb]
\caption{sf-fw OPNsense Dashboard DHCPv4} \label{tab:supermicroSSCIpmiOpnsenseDhcpv4}
\begin{tabu}{|[2pt]p{\SIPCCwidth}|[2pt]p{\SIPCCwidth*2}|[2pt]}
\tabucline[2pt]{1-2}
\multicolumn {1}{|[2pt]l|[2pt]}{\rule[-0.7em]{0pt}{2em} \cellcolor{\currentColor}{Parameter}}&
\multicolumn {1}{l|[2pt]}{\cellcolor{\currentColor}{Value}} \\
\tabucline[2pt]{1-2}
\sharkIPConfigItem { Enable }{unchecked}{}{}
\sharkIPConfigItem { Deny unknown clients }{unchecked}{}{}
\sharkIPConfigItem { Subnet }{192.168.110.0}{}{}
\sharkIPConfigItem { Subnet mask }{255.255.255.0}{}{}
\sharkIPConfigLastItem{ Range }{192.168.110.10 - 192.168.110.245}{}{}
\sharkIPConfigLastItem{ Others }{leave unchanged}{}{}
\end{tabu}
\end{table}
\newpage
\begin{figure}[!ht]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-opns-dash11-plugins.png}
\includegraphics[keepaspectratio=true,trim=360mm 190mm 10mm 80mm,clip,width=1.0\textwidth,angle=0]
{sf-fw/ssc-opns-dash11-plugins.png}
\caption{Supermicro SuperServer OPNsense Dashboard Plugin Installation}
\label{fig:supermicroSSCIpmiOpnsenseDash11}
\end{figure}
\begin{itemize}
\item Make sure os-dyndns plugin installed
\item Install os-acme-client
\end{itemize}
%\begin{table}[!htb]
% \caption{sf-fw OPNsense Dashboard Plugins} \label{tab:supermicroSSCIpmiOpnsensePlugins}
% \begin{tabu}{|[2pt]p{\SIPCCwidth}|[2pt]p{\SIPCCwidth*2}|[2pt]}
% \tabucline[2pt]{1-2}
% \multicolumn {1}{|[2pt]l|[2pt]}{\rule[-0.7em]{0pt}{2em} \cellcolor{\currentColor}{Parameter}}&
% \multicolumn {1}{l|[2pt]}{\cellcolor{\currentColor}{Value}} \\
% \tabucline[2pt]{1-2}
% \sharkIPConfigItem { Enable }{unchecked}{}{}
% \sharkIPConfigItem { Deny unknown clients }{unchecked}{}{}
% \sharkIPConfigItem { Subnet }{192.168.110.0}{}{}
% \sharkIPConfigItem { Subnet mask }{255.255.255.0}{}{}
% \sharkIPConfigLastItem{ Range }{192.168.110.10 - 192.168.110.245}{}{}
% \sharkIPConfigLastItem{ Others }{leave unchanged}{}{}
% \end{tabu}
%\end{table}
\newpage
\begin{figure}[!ht]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
{sf-fw/ssc-opns-dash12-lea.png}
\caption{Supermicro SuperServer OPNsense Dashboard add Let's Encrypt account}
\label{fig:supermicroSSCIpmiOpnsenseDash12}
\end{figure}
\begin{itemize}
\item Add Let's Encrypt account
\item Modify global Let's Encrypt settings
\item Apply Let's Encrypt settings
\item Refer to Certificates menu
\end{itemize}
\begin{table}[!htb]
\caption{sf-fw OPNsense Dashboard Let's Encrypt account and settings} \label{tab:supermicroSSCIpmiOpnsenseLea}
\begin{tabu}{|[2pt]p{\SIPCCwidth}|[2pt]p{\SIPCCwidth*2}|[2pt]}
\tabucline[2pt]{1-2}
\multicolumn {1}{|[2pt]l|[2pt]}{\rule[-0.7em]{0pt}{2em} \cellcolor{\currentColor}{Parameter}}&
\multicolumn {1}{l|[2pt]}{\cellcolor{\currentColor}{Value}} \\
\tabucline[2pt]{1-2}
\sharkIPConfigItem { Enable }{checked}{}{}
\sharkIPConfigItem { Name }{sf-fw1}{}{}
\sharkIPConfigItem { Description }{SharkFork Firewall 1}{}{}
\sharkIPConfigLastItem{ E-Mail address }{sharkfork@forksand.com}{}{}
\sharkIPConfigItem { Enable Plugin }{checked}{}{}
\sharkIPConfigItem { Auto Renewal }{checked}{}{}
\sharkIPConfigItem { Let's Encrypt Environment }{Production Environment \char`[Default\char`]}{}{}
\sharkIPConfigLastItem{ HAProxy Integration }{unchecked}{}{}
\end{tabu}
\end{table}
\newpage
%\begin{figure}[!ht]
% \includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]
% {sf-fw/ssc-opns-dash13-cert.png}
% \caption{Supermicro SuperServer OPNsense Dashboard add Certificate}
% \label{fig:supermicroSSCIpmiOpnsenseDash12}
%\end{figure}
\begin{itemize}
\item Add Validation Method
\item Add Certificate
\item Apply ``Issue/Renew Certificates Now''
\end{itemize}
\begin{table}[!htb]
\caption{sf-fw OPNsense Dashboard Let's Encrypt account and settings} \label{tab:supermicroSSCIpmiOpnsenseLea}
\begin{tabu}{|[2pt]p{\SIPCCwidth}|[2pt]p{\SIPCCwidth*2}|[2pt]}
\tabucline[2pt]{1-2}
\multicolumn {1}{|[2pt]l|[2pt]}{\rule[-0.7em]{0pt}{2em} \cellcolor{\currentColor}{Parameter}}&
\multicolumn {1}{l|[2pt]}{\cellcolor{\currentColor}{Value}} \\
\tabucline[2pt]{1-2}
\sharkIPConfigItem { Validation Method }{}{}{}
\sharkIPConfigItem { Enable }{checked}{}{}
\sharkIPConfigItem { Name }{sf-fw1-http}{}{}
\sharkIPConfigItem { Description }{SharkFork Firewall 1 http validation}{}{}
\sharkIPConfigLastItem{ Challenge Type }{HTTP-01}{}{}
\sharkIPConfigLastItem{ HTTP Service }{OPNsense Web Service (automatic port forward)}{}{}
\sharkIPConfigItem { IP Auto-Discovery }{checked}{}{}
\sharkIPConfigItem { Interface }{WAN}{}{}
\sharkIPConfigLastItem{ IP Addresses }{}{}{}
\tabucline[2pt]{1-2}
\sharkIPConfigItem { Certificate }{}{}{}
\sharkIPConfigItem { Enable }{checked}{}{}
\sharkIPConfigItem { Common Name }{sf-fw1.forksand.com}{}{}
\sharkIPConfigItem { Description }{SharkFork Firewall 1}{}{}
\sharkIPConfigItem { Alt Names }{}{}{}
\sharkIPConfigItem { LE Account }{sf-fw1}{}{}
\sharkIPConfigItem { Validation Method }{sf-fw1-http}{}{}
\sharkIPConfigItem { Restart Actions }{}{}{}
\sharkIPConfigItem { Auto Renewal }{checked}{}{}
\sharkIPConfigLastItem{ Renewal Interval }{60}{}{}
\end{tabu}
\end{table}
\newpage
\section{Alternatives Firewalls Hardware Overview}
Some resellers:
\begin{itemize}
\item \url{https://www.deciso.com/}
\item \url{https://www.pfwhardware.com/}
\item \url{https://www.osnet.eu/}
\end{itemize}
\begin{itemize}
\item (8) 1 gig ethernet ports
Connects to (1) 100M ethernet upstream fiber optic
Connects to (1) 100M ethernet upstream wifi
Various LAN
\item (Hot swap?) Dual Power Supplies
\item (How swap?) RAID (Linux md), with SSD storage.
\item 2.5'' drive bays
\item Total ~8GHz CPU
\item ~8-16 gigs RAM ? Depends on OS.
\item Two servers total, for standby/failover
\end{itemize}
\section{IP-tables Firewall}
\section{IPtables-firewall}
\subsection{Overview}
Most servers and workstations run GNU/Linux, which uses iptables.
\subsection{iptables}
iptables is part of the Netfilter project and has been included by default in
the Linux kernel for many years.
\begin{figure}[h!]
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]{www-netfilter.png}
\caption{Netfilter Website}
\label{fig:www-netfilter}
\end{figure}
\subsection{Requirements}
There are a lot of operating systems to consider to use as a firewall...
There are a lot of operating systems to consider to use as a \gls{firewall}...
Notes on some requirements in a firewall.
Notes on some requirements in a \gls{firewall}.
\begin{itemize}
\item Must be free software.
@ -617,24 +74,23 @@ Notes on some requirements in a firewall.
\end{itemize}
\subsection{Firewall Operating Systems in Use}
\Large{Debian}
\subsection{\Gls{firewall} Operating Systems in Use}
\href{https://www.debian.org/}{Debian}
\Large{\href{https://www.debian.org/}{Debian}}
Debian is used for nearly everything. It could easily be used as a
router/firewall. There are better, more tuned options.
router-firewall. There are better, more tuned options.
Linux's iptables is used on servers.
\begin{figure}[h!]
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]{www-debian.png}
\caption{Debian Website}
\label{fig:www-debian-in-firewalls-chapter}
\end{figure}
\Large{Proxmox setups iptables-firewall}
During Proxmox installation on the nodes, firewall is being confugured.
During Proxmox installation on the nodes, \gls{firewall} is being confugured.
Some of nodes configurations can be found in chapter Free software under
path apps/forksand-nodes-bootstrap/...
@ -669,7 +125,7 @@ Find out why mention of firewall in hk1 node is discarded.
# Datacenter --> Firewall --> Add.
\end{minted}
Also Nextcloud chapter mentiones configs of iptables firewall \ref{ssec:nextcloudfirewall} on p.\pageref{ssec:nextcloudfirewall}.
Also Nextcloud chapter mentiones configs of iptables-firewall \ref{ssec:nextcloudfirewall} on p.\pageref{ssec:nextcloudfirewall}.
Also certain Ansible including virtual machines enable iptables configuratiion.
For example ansible-debian-male contains mikegleasonjr.firewall.

65
source/Hardware.tex

@ -10,45 +10,41 @@
% This document is licensed under the Creative Commons Attribution 4.0
% International Public License (CC BY-SA 4.0) by Fork Sand, Inc.
%
\section{Hardware}
\section{Cluster Diagram}
\raggedright
\vspace{0.4cm}
Dedicated servers discarded.
Colocation cabinet buffered only with a firewall.
\Glspl{dedicatedserver} discarded.
\vspace{0.4cm}
\centering
\includegraphics[width=210mm,trim=20mm 20mm 20mm 20mm]
\begin{figure}[!htb]
\includegraphics[width=210mm,trim=20mm 20mm 20mm 20mm]
{sharkfork-cabling-4-final-colocation.pdf} \\ %
\vspace{0.2cm}
\raggedright
\newpage
\caption{\Gls{sharkfork} \Gls{colocation} \gls{cluster} cabling diagram}
\end{figure}
\section{Cluster Hardware Overview}
The cluster will require rackmountable equipment:
\Gls{colocation} \Gls{cabinet} buffered only with a \gls{firewall}.
One step from autonouos structure.
\section{Hardware Cluster Overview}
The \gls{cluster} will require rackmountable equipment.
\newpage
\Large{\textbf{\Gls{sharkfork} 21U hardware instance}}
\begin{itemize}
\item GNU/Linux Servers
\item \Glspl{firewall}
\item Switches
\item File storages
\end{itemize}
\begin{minipage}{0.9\textwidth}
\subsection{Sharkfork 21U hardware instance} \label{sec:hardware-sharkfork-21U}
%\includepdf[width=150mm,offset=0 15,clip]
%{sharkfork-21U.pdf}
\includegraphics[keepaspectratio=true,height=0.80\textheight,width=150mm,angle=0]
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=0.75\textheight,width=150mm,angle=0]
{sharkfork-21U.png}
% \vspace{150mm}
\label{fig:sharkfork-21U}
%\vspace{60mm}
\end{minipage}
\label{fig:sharkfork-21U}
\end{figure}
%\subsubsection{\Gls{sharkfork} 21U detail hardware description} \label{sec:hardware-description-sharkfork-21U}
\newpage
%\subsubsection{Sharkfork 21U detail hardware description} \label{sec:hardware-description-sharkfork-21U}
\newcommand{\nodeUnitName}[4]{
\rowcolor{#3}\vspace{-1pt}
{{\grenewcommand{\currentColor}{#3}}}
@ -90,7 +86,7 @@ The cluster will require rackmountable equipment:
\multicolumn {1}{p{13cm}|[2pt]}{ Description} \\ \tabucline[2pt]{1-2}
%%% UNIT %%%
% Unit name
\nodeUnitName{2}{Iris FW1100 - Firewall System}{secondary-brown}{ao-black}
\nodeUnitName{2}{Iris FW1100 - \Gls{firewall} System}{secondary-brown}{ao-black}
% Unit configuration parameters
\nodeUnitParameter{ 1U Form Factor ~~- Single Intel Xeon D-1587 CPU }
\nodeUnitParameter{ Up to 128GB DDR4 ECC Reg Memory }
@ -108,6 +104,21 @@ The cluster will require rackmountable equipment:
%\nodeUnitSetNotes { none }
%%% END UNIT %%%
% Unit name
\nodeUnitName{2}{Netgear XS716T - 16-Port 10G Smart Managed Plus Switch}{secondary-brown}{ao-black}
% Unit configuration parameters
\nodeUnitParameter{ 1U Form Factor ~~- 600 MHz Cortex-A9 Single Core }
\nodeUnitParameter{ 512MB RAM }
\nodeUnitParameter{ 16-Port RJ45 10G SFP+ and Six Gigabit Ethernet }
\nodeUnitLastParameter{ 100W Power Supply }
% Unit has a set of components parameters
\nodeUnitSetItem {1}{ 8MB SPI + 256 NAND FLASH }
\nodeUnitSetLastItem {1}{ 2 shared (combo) 1G/10G Copper/SFP+ (fiber) ports }
% Unit ends with notes, pass "none" parameter if no notes
%\nodeUnitSetNotes { none }
%%% END UNIT %%%
%%% UNIT %%%
% Unit name
\nodeUnitName{1}{Iris NV2225}{primary-blue}{ao-black}
@ -316,7 +327,7 @@ Who we'll get hardware from.
\end{itemize}
\newcommand{\includescreen}[3]{
\begin{figure}[!ht]
\begin{figure}[!htb]
\includegraphics[keepaspectratio=true,height=1.10\textheight,width=1.00\textwidth,angle=0]{#1}
\caption{#2}
#3

20
source/History.tex

@ -13,9 +13,9 @@
\section{History}
\subsection{Cluster Evolution}
Forksand started deployment on dedicated servers.
Forksand started deployment on \glspl{dedicatedserver}.
\vspace{0.6cm}
First stage. Exclusively dedicated servers (deprecated)
First stage. Exclusively \glspl{dedicatedserver} (deprecated)
\vspace{0.4cm}
\centering
\includegraphics[width=115mm,trim=20mm 20mm 20mm 20mm]
@ -23,20 +23,20 @@ Forksand started deployment on dedicated servers.
%
\vspace{0.2cm}
\raggedright
Second stage. Dedicated servers along with a colocation
cabinet. Flat hierarchy. (deprecated)
Second stage. \Glspl{dedicatedserver} along with a \Gls{colocation}
\Gls{cabinet}. Flat hierarchy. (deprecated)
\vspace{0.1cm}
In progress, services were being migrated one after another to
a colocation instance. On the next stage hierarchy becomes vertical. \\
a \Gls{colocation} instance. On the next stage hierarchy becomes vertical. \\
\vspace{0.1cm}
\centering