Skip to content

Instantly share code, notes, and snippets.

View zhimsel's full-sized avatar

Zach Himsel zhimsel

View GitHub Profile
#!/bin/sh
# This script will monitor another NAT instance and take over its routes
# if communication with the other instance fails
# NAT instance variables
# Other instance's IP to ping and route to grab if other node goes down
NAT_ID=
NAT_RT_ID=
# My route to grab when I come back up