Skip to content

Instantly share code, notes, and snippets.

@labeneator
labeneator / firewall.sh
Created March 28, 2023 15:52 — forked from albertogg/firewall.sh
EdgeRouter Lite configuration
# This configuration is based on the Wizard config and also the these ones:
# https://blog.dlasley.net/2013/06/initial-configuration-ubiquiti-edgerouter-lite/
# http://lg.io/2015/01/11/the-ubiquiti-edgerouter-configuring-this-extremely-lowcost-enterprisegrade-router-for-home-use.html
#
# Create simple firewall rules for Inbound wan to lan and local router
edit firewall
set all-ping enable
set broadcast-ping disable
set ipv6-receive-redirects disable
set ipv6-src-route disable
@labeneator
labeneator / debian-stretch-archived-sources.list
Created May 15, 2023 10:29
Sources list for debian stretch which is now archived. Covers debian security too. Takes care of errors such as E: The repository 'http://security.debian.org/debian-security stretch/updates Release' does no longer have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secu…
# lmwangi@db:~$ grep -v '#' /etc/apt/sources.list
deb http://archive.debian.org/debian/ stretch main
deb http://archive.debian.org/debian-archive/debian-security stretch/updates main