This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script que se ejecuta al hacer un `stop` del servicio Bridge Ethernet | |
# Interfaces, rutas + IP y MACs asociar茅 a las interfaces tap y bridge | |
. /etc/openvpn/client/sur_cliente_bridge_ethernet_de_norte_CONFIG.sh | |
## | |
## Equipos (Decos) que llegan a Movistar IPTV | |
## | |
ip rule del from ${bridge_ip_rango} table Decos 2>/dev/null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script que se ejecuta al hacer un `start` del servicio Bridge Ethernet | |
# Interfaces, rutas + IP y MACs asociar茅 a las interfaces tap y bridge | |
. /etc/openvpn/client/sur_cliente_bridge_ethernet_de_norte_CONFIG.sh | |
## | |
## Equipos (Decos) que llegan a Movistar IPTV | |
## | |
# Creo una tabla de routing dedicada |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script que se ejecuta al tirar el tunel | |
# | |
# /etc/openvpn/client/sur_cliente_access_de_norte_DOWN.sh | |
# | |
# Documentado en: | |
# https://www.luispa.com/linux/2014/10/19/bridge-ethernet.html | |
# | |
# Interfaces, rutas + IP y MACs asociar茅 a las interfaces tap y bridge |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# /etc/openvpn/client/sur_cliente_access_de_norte_CONFIG.sh | |
# | |
# Documentado en: | |
# https://www.luispa.com/linux/2014/10/19/bridge-ethernet.html | |
# | |
export ifNorteTunel="tun1" | |
export ipNorteTunelRouter="192.168.224.1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script que se ejecuta al levantar el tunel OpenVPN | |
# | |
# /etc/openvpn/client/sur_cliente_access_de_norte_UP.sh | |
# | |
# Documentado en: | |
# https://www.luispa.com/linux/2014/10/19/bridge-ethernet.html | |
# | |
# Interfaces, rutas + IP y MACs asociar茅 a las interfaces tap y bridge | |
. /etc/openvpn/client/sur_cliente_access_de_norte_CONFIG.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Configuraci贸n CLIENTE de un tunel "Access Server" OpenVPN | |
# Documentado en: | |
# https://www.luispa.com/linux/2014/10/19/bridge-ethernet.html | |
# | |
# Soy "cliente", expondr茅 el device tun1 | |
client | |
dev tun1 | |
proto udp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Pi-hole: A black hole for Internet advertisements | |
# (c) 2017 Pi-hole, LLC (https://pi-hole.net) | |
# Network-wide ad blocking via your own hardware. | |
# | |
# Dnsmasq config for Pi-hole's FTLDNS | |
# | |
# This file is copyright under the latest version of the EUPL. | |
# Please see LICENSE file for your rights under this license. | |
############################################################################### |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################### | |
# DHCP SERVER CONFIG FILE AUTOMATICALLY POPULATED BY PI-HOLE WEB INTERFACE. # | |
# ANY CHANGES MADE TO THIS FILE WILL BE LOST ON CHANGE # | |
############################################################################### | |
dhcp-authoritative | |
dhcp-range=192.168.107.10,192.168.107.200,24h | |
dhcp-option=option:router,192.168.107.1 | |
dhcp-leasefile=/etc/pihole/dhcp.leases | |
#quiet-dhcp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Pi-hole: Configuraci贸n DHCP | |
# /etc/dnsmasq.d/03-pihole-decos.conf | |
# | |
# Este fichero est谩 referenciado en este apunte: | |
# https://www.luispa.com/linux/2014/10/19/bridge-ethernet.html | |
# | |
# DECOS | |
# Rango |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Pi-hole: Configuraci贸n DHCP | |
# /etc/dnsmasq.d/04-pihole-sur.conf | |
# | |
# Este fichero est谩 referenciado en este apunte: | |
# https://www.luispa.com/linux/2014/10/19/bridge-ethernet.html | |
# | |
# SUR | |
# VLAN eth1.10 |