Install system
Login
# ifconfig -a > /root/ifconfig\ -a
# useradd -m -G wheel user
# /etc/rc.d/sshd start

# echo 'sshd=YES
pf=YES
dhclient=YES
dhclient_flags="tlp0"' >> /etc/rc.conf

# vi /etc/hosts
(configure hosts)

# echo "dread.dayid.org" > /etc/myname
# echo "inet 192.168.1.1 netmask 255.255.255.0" > /etc/ifconfig.rtk0
# echo "inet 10.0.0.1 netmask 255.0.0.0" > /etc/ifconfig.rtk1

# export PKG_PATH="ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD-4.0/i386/All"
# export PKG_PATH
(since using ksh:)
# echo 'export PKG_PATH="ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD-4.0/i386/All"' >> /root/.profile

# visudo
allow for user created earlier
# chsh -s /usr/ksh dayid

# mkdir /usr/src && cd /usr/src
$ links http://pub.dayid.org/installs/
(download uptimed-0.3.11.tar.bz2 to /usr/src/)
# tar -xvjf uptimed-0.3.11.tar.bz2
# cd uptimed-0.3.11
# ./configure && make && make install
(installs to /usr/local/bin/uprecords && /usr/local/sbin/uptimed)
# /usr/local/sbin/uptimed -bm 50
# vi /etc/rc.local
/usr/local/sbin/uptimed -bm 50 &

# cd ~
# mkdir scripts
# vi scripts/uptime-report.sh:
  #!/bin/sh
  HOME=/root/
  thiscomputer=`hostname | cut -d "." -f1`
  /usr/local/bin/uprecords -a > ~/.${thiscomputer}.txt
  /usr/pkg/bin/rsync -avzuPe 'ssh -p 22' ~/.${thiscomputer}.txt dayid@vurt.dayid.org:/home/dayid/public_html/pub/uptimes/${thiscomputer}.txt
# chmod 700 scripts/uptime-report.sh && bash scripts/uptime-report.sh

established ssh-keys between server and other hosts it will conduct traffic with.

# echo 'dmesg > /root/dmesg' >> /etc/rc.local
# echo 'pkg_info > /root/pkg_info' >> /etc/rc.local

# /usr/libexec/locate.updatedb &
# locate pf.o
# modload /usr/lkm/pf.o
# pfctl -e
  No ALTQ support in kernel
  ALTQ related functions disabled
  pf enabled
# pfctl -sa | less #just to see current information from pf
# echo "/usr/lkm/pf.o - - - - BEFORENET" >> /etc/lkm.conf

Enable NAT:
# sysctl -w net.inet.ip.forwarding=1
# sysctl -w net.inet6.ip6.forwarding=0 #I'm not using IPv6
# echo "net.inet.ip.forwarding=1
net.inet6.ip6.forwarding=0" >> /etc/sysctl.conf

# ls -l /etc/localtime
# rm /etc/localtime
# ln -s /usr/share/zoneinfo/EST5EDT /etc/localtime
# ntpdate pool.ntp.org