Category:I802 Firewalls and VPN IPSec (2017): Difference between revisions
No edit summary |
|||
Line 98: | Line 98: | ||
Following lectures are planned: | Following lectures are planned: | ||
7. sept - Intro, virtualization, containers etc. Relevant story [https://lauri.xn--vsandi-pxa.com/lan/virtualization.html here] | * 7. sept - Intro, virtualization, containers etc. Relevant story [https://lauri.xn--vsandi-pxa.com/lan/virtualization.html here] | ||
14. sept - Network topology | * 14. sept - Network topology | ||
Order to be determined: | Order to be determined: |
Revision as of 10:50, 13 September 2017
Firewalls and VPN/IPSec
General information
ECTS: 4
Lecturer: Lauri Võsandi
To register to this course send your SSH public key to Lauri and state which service you want to configure.
Scenario
In this course we will attempt to set up a network similar to a corporate network with multiple offices, eg http://docplayer.it/docs-images/20/596222/images/25-0.png
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.
Hardware
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
Grading
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 mon.momcorp.eu (15p)
- Enable log forwarding to log.momcorp.eu, if applicable configure auditing for your service (15p)
- Configure your service to send e-mails (mail.momcorp.eu) 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)
We will start with services facing the public internet, see what's the worst that can happen in that case and later migrate some services to intranet only. Some services will retain connectivity to public internet due to their nature (eg OwnCloud, mailserver) and some services will be available only in the intranet (eg fileserver)
Services
To support our virtual company in everyday business we need to provide them with a variety of services:
- www.momcorp.eu - Install webserver/load balancer and create a homepage for the company and link to remaining sites. Olusiji
- shop.momcorp.eu - Install Magento and add some fictive products like dark matter and neutron star. Sander
- wiki.momcorp.eu - Install MediaWiki, later integrate with AD. Peep
- blog.momcorp.eu - Install WordPress, later integrate with AD. Steven
- chat.momcorp.eu - Install IRC server, provide multiple channels for developers. Install some web based software for customer helldesk. Ardi
- ns1.momcorp.eu - Primary Bind9 installation, later also add DNSSEC. Erik J
- ns2.momcorp.eu - Secondary Bind9 installation in another physical host. ???
- git.momcorp.eu - Gogs installation. ???
- mon.momcorp.eu - Nagios monitoring. Nika
- mail.momcorp.eu - Mailserver with Postfix (postfw, greylisting, dkim, spf, setup secondary mx), later with AD integration if exchange won't be used. Andris
- ca.momcorp.eu - Java servlet container, EJBCA installation for certificate management. ???
- nas.momcorp.eu - Samba fileserver. Hindrek
- log.momcorp.eu - Graylog or similar for central logging. Kaspar, Sten-Erik
- vpn.momcorp.eu - OpenVPN gateway. Moira
- cs.momcorp.eu - Teamspeak and/or gaming server for entertainment. Christopher
Additionally for each physical box listed under Hardware we could set up:
- Person responsible for the hypervisor on that box
- Virtual machine with router OS - Mikrotik RouterOS, Vyatta, pfsense or just vanilla Debian with shell scripts
Other topics:
- Mikus - Remote management: Puppet master, DSC, postfix with kerberos (and AD?)
- 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)
Lectures
Following lectures are planned:
- 7. sept - Intro, virtualization, containers etc. Relevant story here
- 14. sept - Network topology
Order to be determined:
- iptables, ebtables, route
- X.509 certificates, TLS, symmetric, asymmetric, keyexchange, relevant slides here
This category currently contains no pages or media.