Skip to content

Instantly share code, notes, and snippets.

@LuisPalacios
Last active March 12, 2023 11:01
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/732bbfc06192a4d7c557f92277d50697 to your computer and use it in GitHub Desktop.
Save LuisPalacios/732bbfc06192a4d7c557f92277d50697 to your computer and use it in GitHub Desktop.
Sur: Fichero de configuración para watch_eth_bridge_con_xxxxx.service
# /etc/default/watch_eth_bridge_con_norte
# 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 de este host (i.e. sur.midominio.com)
# -r <name> Nombre DNS Público del host remoto (i.e. norte.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 "sur" (hace de cliente, según apunte técnico de arriba)
WATCH_ETH_BRIDGE_OPTS="-l sur.midominio.com -r norte.midominio.com \
-b br206 -s 192.168.206.2 -t 192.168.206.1
-O openvpn-client@sur_cliente_bridge_ethernet_de_norte"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment