Skip to content

Instantly share code, notes, and snippets.

@2ells
2ells / MakeOVPN.sh
Last active April 5, 2018 09:53
OpenVPN Server on OSMC Pi : /etc/openvpn/easy-rsa/keys/MakeOVPN.sh
#/etc/openvpn/esy-rsa/keys/Default.txt
# See https://2ellsblog.wordpress.com/2016/02/04/osmc-pi-openvpn-server-preparation
# This file does not need updating
#!/bin/bash
# Default Variable Declarations
@2ells
2ells / Default.txt
Last active April 5, 2018 09:53
OpenVPN Server on OSMC Pi : /etc/openvpn/easy-rsa/keys/Default.txt
#/etc/openvpn/esy-rsa/keys/Default.txt
# See https://2ellsblog.wordpress.com/2016/02/04/osmc-pi-openvpn-server-preparation
# Update the file by following the instructions given after each ##
client
dev tun
@2ells
2ells / ddclient.conf
Last active January 8, 2019 02:13
OpenVPN Server on OSMC Pi : /etc/ddclient.conf
# /etc/ddclient.conf for IPChange.com free Dynamic DNS domain
# See https://2ellsblog.wordpress.com/2016/02/04/osmc-pi-openvpn-server-preparation
# Update the file by following the instructions given after each ##
# Leave these defaults
daemon=1200 # check every 20 min
syslog=yes # log update msgs to syslog
mail=root # mail all msgs to root
@2ells
2ells / server.conf
Last active April 5, 2018 09:54
OpenVPN Server on OSMC Pi : /etc/openvpn/server.conf
#/etc/openvpn/server.conf
# See https://2ellsblog.wordpress.com/2016/02/04/osmc-pi-openvpn-server-preparation
# Update the file by following the instructions given after each ##
local 192.168.1.22 ## REPLACE 192.168.1.22 WITH THE IP ADDRESS YOUR RASPBERRY PI HAS ON YOUR HOME LAN
dev tun