Only start OpenVPN if not on “home” LAN

This bash script only starts the OpenVPN client if the client PC is not connected to the “home” LAN. IE The LAN where the OpenVPN Server resides.

This is useful for machines such as an offsite backup server which could be occasionally moved into the office where the OpenVPN server is located.

Leave a Reply