Skip to content

Instantly share code, notes, and snippets.

View dweomer21's full-sized avatar

Scott G dweomer21

  • Seattle
View GitHub Profile

Keybase proof

I hereby claim:

  • I am dweomer21 on github.
  • I am sbgood (https://keybase.io/sbgood) on keybase.
  • I have a public key ASANfMqddY0oHl4eJ0GwCIcTk2FBxHuidIP2pdWfZCqWPgo

To claim this, I am signing this object:

This guide assumes that you have already set up a Ubiquiti Unifi VPN following the guide:
https://help.ubnt.com/hc/en-us/articles/115005445768-UniFi-L2TP-Remote-Access-VPN-with-USG-as-RADIUS-Server
To configure a Linux machine to be able to connect remotely I followed these steps. This guide was written for Debian 8.
- In Debian install the "xl2tpd" and "strongswan" packages.
- Edit /etc/ipsec.conf to add the connection:
conn YOURVPNCONNECTIONNAME
@dweomer21
dweomer21 / amazon.sh
Created December 26, 2017 20:41 — forked from fredriks/amazon.sh
postgresql with postgis on amazon linux, debian jessie and ubuntu trusty
# http://stackoverflow.com/questions/27177327/setting-up-django-with-geodjango-support-in-aws-beanstalk-or-ec2-instance
# http://rpmfind.net/linux/rpm2html/search.php?query=lib64jpeg8
# http://rpmfind.net/linux/rpm2html/search.php?query=lib64poppler5
# install postgresql repo
sudo yum install https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-6-x86_64/pgdg-ami201503-95-9.5-3.noarch.rpm
# add priority=1 to perfer this repo over amzn-main
vim /etc/yum.repos.d/pgdg-95-ami201503.repo
@dweomer21
dweomer21 / amazon.sh
Created December 26, 2017 20:41 — forked from fredriks/amazon.sh
postgresql with postgis on amazon linux, debian jessie and ubuntu trusty
# http://stackoverflow.com/questions/27177327/setting-up-django-with-geodjango-support-in-aws-beanstalk-or-ec2-instance
# http://rpmfind.net/linux/rpm2html/search.php?query=lib64jpeg8
# http://rpmfind.net/linux/rpm2html/search.php?query=lib64poppler5
# install postgresql repo
sudo yum install https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-6-x86_64/pgdg-ami201503-95-9.5-3.noarch.rpm
# add priority=1 to perfer this repo over amzn-main
vim /etc/yum.repos.d/pgdg-95-ami201503.repo