Skip to content

Instantly share code, notes, and snippets.

@bsmithyman
Created Oct 5, 2014
Embed
What would you like to do?
OpenVPN down script to remove custom entry in table
#!/bin/bash
TUNNEL="tun0"
TABLE="tablename"
ROUTE=$(ip route list table $TABLE)
ip route del $ROUTE table $TABLE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment