Skip to content

Instantly share code, notes, and snippets.

@LuisPalacios
Last active March 12, 2023 10:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LuisPalacios/f4366fb5609d1c08759cf0c256fdb49a to your computer and use it in GitHub Desktop.
Save LuisPalacios/f4366fb5609d1c08759cf0c256fdb49a to your computer and use it in GitHub Desktop.
Norte: Fichero de configuración para watch_eth_bridge_con_xxxxx.service
# /etc/default/watch_eth_bridge_con_sur
# Fichero de configuración para watch_eth_bridge_xxxxx.service
#
# Un ejemplo de caso de uso está descrito en este apunte:
# https://www.luispa.com/linux/2014/10/19/bridge-ethernet.html
#
# Opciones watch_eth_bridge.sh
# -l <name> Nombre DNS Público del este host (i.e. norte.midominio.com)
# -r <name> Nombre DNS Público del host remoto (i.e. sur.midominio.com)
# -b <interface> Nombre del interfaz utilizado para montar el BRIDGE
# -s <IP> Dirección IP local en el bridge (s)ource
# -t <IP> Dirección IP remota en el bridge (t)arget
# -O <servicio> Nombre del servicio en systemd a rearrancar si el ping no funciona.
# Configuración para "norte" (hace de servidor, según apunte técnico de arriba)
WATCH_ETH_BRIDGE_OPTS="-l norte.midominio.com -r sur.midominio.com \
-b br206 -s 192.168.206.1 -t 192.168.206.2
-O openvpn-server@norte_bridge_ethernet_server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment