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 | |
| # | |
| ## Servidor ‘sur’ | |
| ## | |
| ## Este fichero está relacionado con este apunte: | |
| ## https://www.luispa.com/linux/2014/10/19/bridge-ethernet.html | |
| ## | |
| # | |
| # Quita las iptables por completo, lo permite todo. | |
| # |
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
| # Este servicio activa reglas con iptables llamando a un script | |
| # | |
| # Instalar con: | |
| # systemctl enable firewall_2_pre_network.service | |
| # | |
| [Unit] | |
| Description=Activar reglas iptables despues de la red | |
| Wants=network-online.target internet_wait.service | |
| After=network-online.target internet_wait.service |
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
| # Este servicio activa reglas con iptables llamando a un script | |
| # | |
| # Instalar con: | |
| # systemctl enable firewall_1_pre_network.service | |
| # | |
| [Unit] | |
| Description=Activar reglas iptables antes que la red | |
| Wants=network-pre.target | |
| Before=network-pre.target |
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
| # Este servicio comprueba si tengo acceso a internet y mientras que | |
| # no lo tenga se queda esperando (sleep's de 1 seg). Es bastante útil | |
| # cuando queremos que otros servicios esperen a tener internet. | |
| # | |
| # Crea el fichero /etc/systemd/system/internet_wait.service | |
| # Instalar con: | |
| # systemctl enable internet_wait.service | |
| # | |
| # En aquellos servicios que queremos que esperen a tener interent | |
| # tenemos que modificar su fichero .service y añadir al final de |
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
| ## | |
| ## Fichero /etc/dnsmasq.d/03-pihole-decos.conf | |
| ## En Servidor ‘sur’ | |
| ## | |
| ## Este fichero está relacionado con este apunte: | |
| ## https://www.luispa.com/linux/2014/10/19/bridge-ethernet.html | |
| ## | |
| # DECOS | |
| dhcp-range=set:decos,192.168.206.10,192.168.206.20,1h |
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 | |
| ## | |
| ## Fichero /etc/openvpn/client/sur_cliente_bridge_ethernet_de_norte_DOWN.sh | |
| ## En Servidor ‘sur’ | |
| ## | |
| ## Este fichero está relacionado con este apunte: | |
| ## https://www.luispa.com/linux/2014/10/19/bridge-ethernet.html | |
| ## |
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 | |
| ## | |
| ## Fichero /etc/openvpn/client/sur_cliente_bridge_ethernet_de_norte_UP.sh | |
| ## En Servidor ‘sur’ | |
| ## | |
| ## Este fichero está relacionado con este apunte: | |
| ## https://www.luispa.com/linux/2014/10/19/bridge-ethernet.html | |
| ## |
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 | |
| ## | |
| ## Fichero /etc/openvpn/client/sur_cliente_bridge_ethernet_de_norte_CONFIG.sh | |
| ## En Servidor ‘sur’ | |
| ## | |
| ## Este fichero está relacionado con este apunte: | |
| ## https://www.luispa.com/linux/2014/10/19/bridge-ethernet.html | |
| ## |
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
| ## | |
| ## Fichero /etc/openvpn/client/sur_cliente_bridge_ethernet_de_norte.conf | |
| ## En Servidor ‘sur’ | |
| ## | |
| ## Este fichero está relacionado con este apunte: | |
| ## https://www.luispa.com/linux/2014/10/19/bridge-ethernet.html | |
| ## | |
| # Cliente de un "Bridge Ethernet" OpenVPN | |
| # |
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
| ## | |
| ## Fichero /etc/network/interfaces.d/vlans para Raspberry Pi OS 64 bits | |
| ## Servidor ‘sur’ | |
| ## | |
| ## Este fichero está relacionado con este apunte: | |
| ## https://www.luispa.com/linux/2014/10/19/bridge-ethernet.html | |
| ## | |
| ## Relacionado: https://gist.github.com/LuisPalacios/7f36aa70890dbf9a9cb72fda3250ef7a | |
| ## | |
| auto eth1.206 |