Skip to content

Instantly share code, notes, and snippets.

@nosuchuser
nosuchuser / gist:21db3fdd9f4b80bf0910f8b8b6ea2f63
Created Mar 4, 2018
dnsmasq.conf configuration for vodafone IPTV
View gist:21db3fdd9f4b80bf0910f8b8b6ea2f63
server=/.iptvpoc.alu/.discovery.iptv.microsoft.com/.iptv.vodafone.pt/.iptvdiscovery/.ims.vodafone.pt/192.168.1.1
@nosuchuser
nosuchuser / hostname.conf
Created Apr 20, 2018 — forked from krusynth/hostname.conf
Apache log format that shows the hostname
View hostname.conf
LogFormat "%h %l %u %t \"%m http://%{Host}i%U %H\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" hostnames
CustomLog "/private/var/log/apache2/access_log" hostnames
@nosuchuser
nosuchuser / gist:3a67d06bb054273ef390d4a2ed4a5d89
Last active Feb 25, 2021
Configuração Vodafone FTTH / pihole
View gist:3a67d06bb054273ef390d4a2ed4a5d89
1. Configurar IPv4 estático e IPv6 estático no pihole (YMMV)
192.168.1.2 e 2001:818:xxxx::192:168:1:2 no meu caso
2. Configurar DNS uplink do pihole igual ao IP do Router (192.168.1.1)
3. Configurar Router
Huawei HS8247W (Smart Router 2)
1. Configurações Avançadas -> LAN -> Configuração de DHCP
Servidor DNS Primário: 192.168.1.2