
Course introduction with technologies used and approach
Set up a Linux-based environment on a Raspberry Pi and a Python development setup. Configure DHCP, DNS, and VPN services, monitor logs, and receive real-time email alerts with Python.
Set up a Raspberry Pi as a dedicated DNS and DHCP server to take control of your home network, disable router DHCP, configure via command line, and run SSH-enabled 24/7.
Set up the Python development environment with a desktop IDE and a Linux editor; download the provided files from GitHub to prepare for DNS, DHCP, and network service work.
Clone the net monitor repository from GitHub and run install.sh to configure dns and dcp on the Raspberry Pi, then adjust ip addresses with sed for your home network.
Set up an external email account, like Gmail, to forward Raspberry Pi alerts and enable TLS/SSL. Use a separate account to avoid two-factor issues and watch for spam filters.
Write a Python email program by defining an email notifications class, configuring from and to addresses, password, login, and sending mail using Gmail.
Deploy the email program to a Raspberry Pi by copying email_config.py into the net monitor directory, then run Python 3 to launch the app from the Linux console.
On May 30, 2022 Google disabled less-secure third party access to gmail. This means that if you are using gmail to send your alerts, as shown on the previous videos, it will no longer work after this date. This video will show you how to work around this issue and get your notifications up and running again.
Build and test a Python email notification app, connect it to a gateway from an internet service provider, and run it on a Raspberry Pi for network event alerts.
Explore deploying a dns server on a Raspberry Pi to monitor traffic and secure your home network, then review configurations and the Python code behind it.
Parse dns logs on a Raspberry Pi with Python, using regex to extract domains and ip activity. Email alerts summarize the top domains and active users, applying a white list.
Learn how the DHCP service dynamically assigns IP addresses via client broadcasts, server proposals, and leases, and how to run scopes with non overlapping ranges for a Raspberry Pi setup.
Activate dhcp on the raspberry pi by configuring the dhcp server, setting lease ranges and dns servers, starting the service, and checking status and leases.
Monitor dhcp leases on a Raspberry Pi with Python, comparing current and old leases and sending email notifications when changes occur.
Learn how dhcp works on Linux, integrate Python to add value, run and verify Raspberry Pi services, and monitor leases with Python scripts, with a vpn setup next.
Learn to secure your home network with a Raspberry Pi and Python by setting up a VPN for remote access anywhere, including server and client setup and domain configuration.
The lecture shows why a home VPN adds security. It compares access options, including a VPN server on a Raspberry Pi and DNS-based IP updates via Python.
Install and configure an OpenVPN server on a Raspberry Pi with Pi VPN, generate client files, forward ports, and connect with Tunnelblick to create a secure virtual tunnel.
Write Python code to monitor the external IP address daily, send email alerts, and automatically update your VPN client and DNS records with a GoDaddy API when the IP changes.
This course will allow you to apply your basic knowledge of Python and Linux, which runs on the RPI, in your everyday life. You will use your knowledge to secure your own home network with a Virtual Private Network (VPN), send alerts when new devices attach to your network and monitor your internet activity by parsing DNS files?
I will walk you through each installation step and each line of code for you to follow along on your system. If you don’t have a raspberry Pi, you use a compatible device or virtual machine to run Linux and then download some free software including Python itself.
Linux and python are critical components to IT security and IT administration.And, because Linux runs on so many business servers today, knowing how to navigate its interface and leverage its power with python scripting, is an invaluable skill for today’s IT job market