NST 18 Getting Started

From MediaWiki
Jump to navigationJump to search

Overview

NST 18
SVN: 4509

This page provides a overview of getting started with the Network Security Toolkit using the NST 18 release (nst-18-4509.i686.iso). This page dicusses:

  • Where to download the ISO image from.
  • Different methods to live boot from the ISO image.
  • Installing to hard disk.
  • Initial setting of the passwords (which enables the sshd and httpd services).
  • Accessing the NST Web User Interface (WUI).

Download ISO Image

You should be able to download the nst-18-4509.i686.iso image from the NST area at SourceForge (https://sourceforge.net/projects/nst/files/NST/).

Live Boot The ISO Image

Once you have downloaded the ISO image, there are several ways to live boot from it.

Using USB Flash Drive

Using LiveCD Creator

Using dd

It is also possible to use the dd command to copy the contents of the ISO image to a USB flash drive having a capacity of 2GB (or more). The following demonstrates how to do this from the command line on a Mac. The diskutil utility was used prior to invoking the dd command determine the device entry for the USB flash drive and to unmount any active partitions.

taco-e:tlp pkb$ diskutil list
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *512.1 GB   disk0
   1:                        EFI                         209.7 MB   disk0s1
   2:                  Apple_HFS Macintosh HD            511.8 GB   disk0s2
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *750.2 GB   disk1
   1:                        EFI                         209.7 MB   disk1s1
   2:                  Apple_HFS TIMEMAC                 749.8 GB   disk1s2
/dev/disk3
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *8.0 GB     disk3
   1:             Windows_FAT_32 tldboot                 128.0 MB   disk3s1
   2:                      Linux                         7.9 GB     disk3s2
taco-e:tlp pkb$ diskutil unmountDisk /dev/disk3
Unmount of all volumes on disk3 was successful
taco-e:tlp pkb$ sudo dd if=/Volumes/public/vm/iso/nst-18-4509.i686.iso of=/dev/disk3 bs=$((8*1024*1024))
220+1 records in
220+1 records out
1847590912 bytes transferred in 2957.797273 secs (624651 bytes/sec)
taco-e:tlp pkb$ diskutil eject /dev/disk3
Disk /dev/disk3 ejected
taco-e:tlp pkb$

Here are some things to be aware of when using the dd method:

  • The entire USB flash drive is used. Hence, if you use a 16GB flash drive, you won't be able to store information on any of the remaining disk space.
  • The systems which you want to boot from need to support booting from USB ISO images in addition to or instead of booting from USB FAT images. This may lead to better or worse compatibility.
  • You will not have access to all of the fancy features available when using the Live USB tools (separate writable home partition, overlay, etc).

Using a Virtual Machine

If you have a virtual environment (VMware, VirtualBox, etc) installed on your system, you should be able to quickly boot directly from the ISO image. The minimum recommended settings for a virtual machine boot are:

  • 1 GB of RAM
  • 1 CPU
  • 20 GB of disk space (if you want to install NST to a virtual hard disk).

Using DVD

If your machine is unable to boot from a USB Flash drive, you can try burning the NST ISO image to DVD and try booting from the DVD. Be aware that booting from DVD media tends to be much slower than booting from a USB flash drive.


Initial Login

Installing To Hard Disk

Setting System Passwords

Using The NST WUI