Skip to content

Instantly share code, notes, and snippets.

View parkervcp's full-sized avatar

Michael (Parker) Parker parkervcp

View GitHub Profile
@parkervcp
parkervcp / gist:5bd62a09068dc1501a042e59b31e3b89
Last active May 25, 2017 21:12
add arch gpg keys for aur
gpg --recv-keys --keyserver hkp://pgp.mit.edu <key>
sudo virt-install \
-n broadcast0 \
--description "OBS broadcast VM" \
--os-type=Linux \
--os-variant=ubuntu18.04 \
--ram=32768 \
--vcpus=20 \
--disk path=/gluster/cached0/brick/vms/broadcast0.qcow2,bus=virtio,size=64 \
--graphics none \
--location http://gb.archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/ \
@parkervcp
parkervcp / wireguard_proxy.conf
Created October 8, 2022 04:58
A wireguard config for running wings on a server behind another server
[Interface]
Address = 192.168.254.1/26
ListenPort = 51820
PrivateKey =
# setup for iptables to forward traffic to proxied host
## On Startup
## make sure ports are routed back properly
PostUp = iptables -t nat -A POSTROUTING -o wg0 -j SNAT --to-source 192.168.254.1
## Accept established and related packets early for perf reasons