This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
firewall { | |
all-ping enable | |
broadcast-ping disable | |
ipv6-name WANv6_IN { | |
default-action drop | |
description "WAN inbound traffic forwarded to LAN" | |
enable-default-log { | |
} | |
rule 10 { | |
action accept |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |