Category:I802 Firewalls and VPN IPSec (2017)

From ICO wiki
Revision as of 11:28, 11 September 2017 by Lvosandi (talk | contribs) (Services)

Firewalls and VPN/IPSec

General information


Lecturer: Lauri Võsandi

To register to this course send your SSH public key to Lauri


In this course we will attempt to set up a network similar to a corporate network with multiple offices, eg

Our virtual company's story is based on Mom's Friendly Robot Company.

We will use VPN software to connect subnets to each other and we will use VPN software to connect our personal computers to the intranet.


We have total of about 264GB of RAM and couple of terabytes of SSD storage:

  • Erik's box Sun 32GB, 2x 256GB SSD
  • Frank's box DELL 16GB, 2x 256GB SSD, 6 NIC
  • Madis' box HP Proliant G5, 4x quadcore Opteron, 64GB RAM, 2 NIC-s
  • Marek's box HP Proliant G5 2x quadcore Xeon, 64G RAM, 2 NIC-s
  • Lauri's box HP Proliant G5 2x quadcore Xeon, 64G RAM, 2 NIC-s, 4x 250G SSD
  • Another Sun box with 24G of RAM, dying harddisks

NB! Replace BIOS batteries; replace thermal paste


If you don't know what to do pick a topic from the services list below. Send your SSH public key to Lauri and state which service you want to take care of.

Collect 100p in total to pass the course, note that there are opportunities to collect much more points in total:

  • Get the service up and running (15p)
  • Configure Let's Encrypt certificates for your service if applicable (15p)
  • Add your service to monitoring at (15p)
  • Enable log forwarding to (15p)
  • Configure your service to send e-mails ( if applicable (15p)
  • Keep the service up and running through the semester (up to -20p)
  • Keep the bad guys out from your servers (up to -30p)
  • Have a disaster recovery plan (up to -20p)
  • Configure layer3 firewall (15p)
  • Configure application firewall(s) if applicable
  • Configure your laptop to connect to intranet using OpenVPN and IPSec (15p)
  • Configure your mobile device to connect to intranet using OpenVPN or IPSec (15p)
  • Configure your service to use authentication from AD (20p)


To support our virtual company in everyday business we need to provide them with a variety of services:

  • - Install nginx and create a homepage for the company and link to remaining sites. ???
  • - Install Magento and add some fictive products like dark matter and neutron star. ???
  • - Install MediaWiki, later integrate with AD. Peep
  • - Install WordPress, later integrate with AD. Steven
  • - Install IRC server, provide multiple channels for developers. Install some web based software for customer helldesk. Ardi
  • - Primary Bind9 installation, later also add DNSSEC. ???
  • - Secondary Bind9 installation in another physical host. ???
  • - Gogs installation. ???
  • - Nagios monitoring. Nika
  • - Mailserver with Postfix (postfw, greylisting, dkim, spf, setup secondary mx), later with AD integration if exchange won't be used. Andris
  • - Java servlet container, EJBCA installation for certificate management. ???
  • - Samba fileserver. Hindrek
  • - Graylog or similar for central logging. ???

Other topics:

  • Mikus - Remote management: Puppet master, DSC, postfix with kerberos (and AD?)
  • Christopher - Teamspeak or game server (quake3? openarena? doom, quake, openttd), if relevant later AD integration
  • Strongswan gateway
  • OpenVPN gateway, later AD integration
  • Exchange
  • failover/high availability (heartbeat)
  • db clusters/shards/replication (mysql/mariadb)
  • clustered filesystems/servers (clvm, corosync, fenced, gfs)
  • web caches (varnish, squid, nginx)
  • load balancing (haproxy, nginx, simple roundrobin)

This category currently contains no pages or media.