2.7 KiB
2.7 KiB
Odroid C2
Firewall
TV server
TVheadend
Instalace
curl -1sLf 'https://dl.cloudsmith.io/public/tvheadend/tvheadend/setup.deb.sh' | sudo -E bash
sudo apt install tvheadend
DNS
Pi-hole
Instalace
curl -sSL https://install.pi-hole.net | bash
Pi-hole sync - Nebula-sync
Download binary from the latest release
wget https://github.com/lovelaze/nebula-sync/releases/download/v0.11.1/nebula-sync_0.11.1_linux_arm64.tar.gz
Run binary
# run
nebula-sync run
# read envs from file
nebula-sync run --env-file .env
Keepalive
Install
sudo apt install keepalived
Config
cd /etc/keepalived
sudo touch keepalived.conf
pihole1 - keepalived.conf
vrrp_instance pihole {
state MASTER
interface eth0
unicast_src_ip 192.168.88.101
unicast_peer {
192.168.88.15
}
virtual_router_id 1
priority 10
advert_int 1
authentication {
auth_type PASS
auth_pass Ct7wV69c
}
virtual_ipaddress {
192.168.88.5/24
}
}
pihole2 - keepalived.conf
vrrp_instance pihole {
state BACKUP
interface end0
unicast_src_ip 192.168.88.15
unicast_peer {
192.168.88.101
}
virtual_router_id 1
priority 9
advert_int 1
authentication {
auth_type PASS
auth_pass Ct7wV69c
}
virtual_ipaddress {
192.168.88.5/24
}
}
Pi-hole Lists - hagezi/dns-blocklists
Používám Multi PRO - Extended protection Fake - Protects against internet scams, traps & fakes! Threat Intelligence Feeds - Increases security significantly! DoH/VPN/TOR/Proxy Bypass - Prevent methods to bypass your DNS! Dynamic DNS blocking
používal jsem dříve
https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt
https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts
https://v.firebog.net/hosts/static/w3kbl.txt
https://adaway.org/hosts.txt
https://v.firebog.net/hosts/AdguardDNS.txt
https://raw.githubusercontent.com/anudeepND/blacklist/master/adservers.txt
https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
https://v.firebog.net/hosts/Easylist.txt