Skip to content

Instantly share code, notes, and snippets.

View skriebel's full-sized avatar

Scott skriebel

  • Greater Pittsburgh Area
View GitHub Profile
@skriebel
skriebel / openvpn-in-lxd.txt
Created October 16, 2018 16:21 — forked from wastrachan/openvpn-in-lxd.txt
OpenVPN in LXD Container
# On the host
=============
lxc config set openvpn raw.lxc 'lxc.cgroup.devices.allow = c 10:200 rwm'
lxc config device add openvpn tun unix-char path=/dev/net/tun
# In the container
==================
1. mknod /dev/net/tun c 10 200
#!/usr/bin/perl
#
# Useful for making maps like the one at http://backspace.com/mapapp/javascript_world
#
use XML::TreeBuilder;