All Projects → deathbybandaid → Piadvanced

deathbybandaid / Piadvanced

This started as a custom install for my pihole!

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Piadvanced

Pihole Panel
Python/GTK3 based Pi-hole (network-level adblocker) dashboard for stats and more
Stars: ✭ 125 (-13.19%)
Mutual labels:  pi-hole, raspberry-pi, ubuntu, debian
Ansible Role Apache
Ansible Role - Apache 2.x.
Stars: ✭ 341 (+136.81%)
Mutual labels:  setup, ubuntu, debian, webserver
Raspap Webgui
Simple wireless AP setup & management for Debian-based devices
Stars: ✭ 3,383 (+2249.31%)
Mutual labels:  raspberry-pi, raspberrypi, dnsmasq, debian
Iptables Boilerplate
rock solid default firewall-rules for webhosts
Stars: ✭ 249 (+72.92%)
Mutual labels:  iptables, ubuntu, debian, firewall
Ansible Role Firewall
Ansible Role - iptables Firewall configuration.
Stars: ✭ 343 (+138.19%)
Mutual labels:  iptables, ubuntu, debian, firewall
Config
Various program configuration files and scripts
Stars: ✭ 173 (+20.14%)
Mutual labels:  openvpn, iptables, dnsmasq, firewall
Ansible Role Security
Ansible Role - Security
Stars: ✭ 398 (+176.39%)
Mutual labels:  setup, ubuntu, debian
88x2bu
Linux Driver for USB WiFi Adapters that are based on the RTL8812BU and RTL8822BU Chipsets
Stars: ✭ 122 (-15.28%)
Mutual labels:  raspberry-pi, ubuntu, debian
Vpnfailsafe
IP leak prevention for OpenVPN
Stars: ✭ 130 (-9.72%)
Mutual labels:  openvpn, iptables, firewall
Openvpn Install
Set up your own OpenVPN server on Debian, Ubuntu, Fedora, CentOS or Arch Linux.
Stars: ✭ 7,142 (+4859.72%)
Mutual labels:  openvpn, ubuntu, debian
Rpi Debian Builder
Build your own Debian image for Raspberry Pi
Stars: ✭ 6 (-95.83%)
Mutual labels:  raspberry-pi, raspberrypi, debian
Padd
PADD (formerly Chronometer2) is a more expansive version of the original chronometer.sh that is included with Pi-Hole. PADD provides in-depth information about your Pi-hole.
Stars: ✭ 1,011 (+602.08%)
Mutual labels:  pi-hole, raspberry-pi, raspberrypi
Pi Hole
A black hole for Internet advertisements
Stars: ✭ 34,076 (+23563.89%)
Mutual labels:  pi-hole, raspberry-pi, dnsmasq
Debootstick
Generate a bootable live image from any Debian/Ubuntu filesystem tree.
Stars: ✭ 48 (-66.67%)
Mutual labels:  raspberry-pi, ubuntu, debian
Buildswiftonarm
All you need to build Swift on a RaspberryPi or other ARM boards, updated to Swift 5.1.5
Stars: ✭ 448 (+211.11%)
Mutual labels:  raspberrypi, ubuntu, debian
Mobilenet Ssd Realsense
[High Performance / MAX 30 FPS] RaspberryPi3(RaspberryPi/Raspbian Stretch) or Ubuntu + Multi Neural Compute Stick(NCS/NCS2) + RealSense D435(or USB Camera or PiCamera) + MobileNet-SSD(MobileNetSSD) + Background Multi-transparent(Simple multi-class segmentation) + FaceDetection + MultiGraph + MultiProcessing + MultiClustering
Stars: ✭ 322 (+123.61%)
Mutual labels:  raspberry-pi, raspberrypi, ubuntu
Atomic Toolkit
AtoMiC Toolkit simplifies HTPC / Home Server setup and management on Ubuntu and Debian variants including Raspbian. It currently supports: Couchpotato, Deluged, Emby, FFmpeg, Headphones, Htpcmanager, Jackett, Kodi, Lazylibrarian, Madsonic, Mono, Mylar, Nzbget, Nzbhydra, NzbToMedia, Ombi, Plex, Plexpy, Pyload, qBittorrent, Radarr, Sabnzbd+, Sickgear, Sickrage, Sonarr, Subsonic, Transmission, Unrar, Watcher, and Webmin.
Stars: ✭ 747 (+418.75%)
Mutual labels:  raspberry-pi, ubuntu, debian
Pi Hole Pivpn On Google Compute Engine Free Tier With Full Tunnel And Split Tunnel Openvpn Configs
Run your own privacy-first ad blocking service in the cloud for free on Google Cloud Services.
Stars: ✭ 1,141 (+692.36%)
Mutual labels:  pi-hole, openvpn, debian
My Pihole Blocklists
Create custom pi-hole blocklists
Stars: ✭ 269 (+86.81%)
Mutual labels:  pi-hole, raspberry-pi, raspberrypi
Raspibackup
Backup and restore your running Raspberry
Stars: ✭ 268 (+86.11%)
Mutual labels:  backup, raspberry-pi, raspberrypi

piadvanced

NOTICE

This script needs more of my attention, as some packages are broken.

Using this script may break things.

I am doing a complete rewrite

Thanks to the people of pihole-discourse and reddit. This is just a collection of other people's work in a nice package. I do not claim credit for anything other than creating this series of scripts.

  • This is a custom install for my pi! I am a tinkerer, and when I tinker, I tend to break things!!!
  • I started this as a much simpler script to help assist me in getting things back up and running as fast as possible.
  • A few of these things are easily done with raspi-config,, but this streamlines the process.
  • I am not a programmer, but I know enough to get into trouble.
With some tweaking could work on debian devices that aren't raspberry pi's

I will be updating this with new stuff all the time. you can always run git pull the /etc/piadvanced to download any changes.

If you are concerned about renaming the pi user for security reasons,

https://github.com/deathbybandaid/replace-default-pi-user

Instructions

sudo git clone https://github.com/deathbybandaid/piadvanced.git /etc/piadvanced/

The main script

sudo bash /etc/piadvanced/extendedinstall.sh

Enjoy

Here is what this half MB bad boy does:

This install:

  • Will ask you many yes/no questions. If you don't want to install something, simply say NO!
  • Is set up like "modules" I plan on adding more pi projects to it later. If it can be automated, it should go here. Message me if you have any reccomendations to add.

I suggest that you use the removedefaultpiuser script below. This will bolster your pi's security by not using the default username.

Makes backups of many of the default configuration files.

  • You can find the backups in /etc/piadvanced/backups

Configures a strong firewall using iptables.

  • This is based on what you choose to install.
  • All traffic to the pi is blocked unless there is a rule that allows the traffic.
    • Rules can be added/removed with sudo /etc/iptables.firewall.rules

Some basic settings:

Set the time

  • Set the timezone
  • Change your NTP servers
  • Add a script to update the time every half hour.

SSH

  • on/off
  • fail2ban
    • Helps protect against brute-force attempts.
    • Configure for other services by sudo nano /etc/fail2ban/jail.conf
  • psad

Random Number Fix with rng-tools

  • Greatly helps when the system needs to randomize something.

Memory

  • Set the memory split.
  • Use an experimental tweak to unlock 16MB of ram on the pi2 or pi3.

Network interfaces

  • Set the hostname
  • Set a static ip for eth0
  • Connect to wifi easily
  • Set a static ip for wlan0

MOTD tweak

Get's your system up to date

Adds sources for debian stretch

Updates and Upgrades

Installs some basic programs and dependencies.

(if curious what it installs, look at the script files)

Admin Mail

Handy if you want to get email from your device when things happen, or you need updates.

  • Apticron
  • Mailutils
  • Exim4

Dynamic Domain Name Services

  • No-IP DUC (Dynamic Update Client)
  • DDClient, which I believe works with dyndns

VPN

  • Port 1194 defualt
  • OpenVPN
  • piVPN

Administration Web UI's

  • Webmin
    • Port 10000
  • Usermin
    • Port 20000
  • Rpi Monitor
    • Port 8889

xRDP

  • This let's you remote-in to your pi, using the Windows native Remote Desktop program.
    • I have found this handy when fail2ban locks me out due to invalid password attempts.

DNSMasq

  • Gives the option to use the version 2.77test4.

DNSCrypt

This is fully functional, and works!

Pi-Hole

  • https://pi-hole.net/
  • Asks you to change the password for the webui immediately.
  • A dark theme, thanks to LKD70
  • The Wally3k adlists.
    • Configure this with sudo nano /etc/pihole/adlists.list
  • The Wally3k Block Page
  • The ability to bypass by mac address.
    • Configure with sudo nano /etc/dnsmasq.d/04-bypass.conf
  • The ability to add additional interfaces to allow dnsmasq to listen on.
    • Configure with sudo nano /etc/dnsmasq.d/05-addint.conf
  • The ability to add your Windows Active-Directory DNS.
    • Configure with sudo nano /etc/dnsmasq.d/06-activedirectory.conf
  • The ability to add custom redirects.
    • Configure with sudo nano /etc/dnsmasq.d/07-customredirect.conf
    • and /etc/piadvanced/installscripts/customRedirect.list
  • The ability to set permanent static ip's. Helpful if your re-install often
    • Configure with sudo nano /etc/dnsmasq.d/08-staticip.conf
  • The ability to block a mac address from recieving an IP address.
    • Configure with sudo nano /etc/dnsmasq.d/09-noip4you.conf
  • The ability to make pihole -up run every half-hour.
  • The ability to make pihole -g run every 6 hours.
  • The ability to remove stale lists once weekly.
  • A way to Parse lists not compatible with Pihole.
    • Configure this with sudo nano /etc/piadvanced/piholetweaks/ublockpihole/lists.lst
  • A Second way to parse lists.
    • Configure with sudo nano /var/www/html/admin/parser.php
  • A way to tweet daily blockings.  * Configure this with sudo nano /etc/piadvanced/piholetweaks/piholetweeter.py
  • Recieve a daily email with your stats.
  • HenningVanRaumle's Youtube Adblock List

Webservers

With the webservers, you can set the ip address and ports to listen on. This helps with port conflict issues.

  • Lightttpd
  • Apache
  • Nginx
    • I have stuff in the works for nginx, stay tuned.

Guacamole

Proxy programs

  • These have the potential of being setup to function transparently alongside pihole.
  • Privoxy
  • Squid/Squidguard

CUPS

Grafana

  • Untested Install, should be sweet for data monitoring and stuff.

phpmyadmin

Nagios

AtoMiC-ToolKit

Dplatform

HASS

  • See https://github.com/home-assistant/fabric-home-assistant for details.
  • I had to cobble the installation a bit to make sure dependencies worked.
  • I also have it set to remove the reboot instruction from their install script.
  • I can't guarantee success on this one, my success has been hit or miss.

Things in the works:

  • Steam Cache
  • PXE Server
  • Nagios
  • OpenVAS
  • ShellinaBox
  • Plexboard
  • A wake-on-lan solution
  • Samba share
  • A script that makes regular backups to a directory with date/time stamps. maybe weekly.
  • Cerbot Let's Encrypt
  • Setting up / mounting a usb device for permanent storage.
  • Email server
  • A way to load in a pihole teleport.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].