Go to file
2025-10-08 14:20:40 +02:00
pihole1-keepalived.conf Aktualizovat pihole1-keepalived.conf 2025-10-08 14:14:41 +02:00
pihole2-keepalived.conf Aktualizovat pihole2-keepalived.conf 2025-10-08 14:16:06 +02:00
README.md Aktualizovat README.md 2025-10-08 14:20:40 +02:00

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@if39

  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
  }
}