Skip to content

Instantly share code, notes, and snippets.

View nickzse's full-sized avatar

Nichlas Friman nickzse

View GitHub Profile
@nickzse
nickzse / he.net-tunnelbroker-setup-edgeos.txt
Created November 28, 2020 14:28 — forked from rys/he.net-tunnelbroker-setup-edgeos.txt
HE.net Tunnelbroker IPv6 tunnel on EdgeOS
# this assumes WAN is eth0 and LAN is switch0. Please adjust for your own setup
configure
# Tunnel first
edit interfaces tunnel tun0
set encapsulation sit
set local-ip xxx.xxx.xxx.xxx # your WAN IP
set remote-ip xxx.xxx.xxx.xxx # HE.net Server IPv4 Address
set address xxxx:xxxx:xxxx:xxxx::2/64 # Client IPv6 Address
@nickzse
nickzse / README.md
Created November 3, 2020 21:26 — forked from CHTJonas/UniFi Tunnelbroker.md
Tunnelbroker config for UniFi Security Gateway

UniFi Tunnelbroker Configuration

This GitHub Gist details the manual configuration needed on a UniFi controller to enable IPv6 tunneling with Hurricane Electric's Tunnelbroker service.

Setup

This is what works for me personally. Stuff you'll need to do to adapt this to your ends:

  • Replace "local-ip" with your USG's public IPv4 address.
  • Replace "remote-ip" with the address of your Tunnelbroker tunnel server.
  • Replace "address" with the IPv6 address that your are allocated.
@nickzse
nickzse / nickzse-pihole-whitelist.txt
Last active February 19, 2020 20:14
My whitelist for Pi-hole
# Plex
plex.tv
tvdb2.plex.tv
pubsub.plex.bz
proxy.plex.bz
proxy02.pop.ord.plex.bz
cpms.spop10.ams.plex.bz
meta-db-worker02.pop.ric.plex.bz
meta.plex.bz
tvthemes.plexapp.com.cdn.cloudflare.net
@nickzse
nickzse / vim-cheatsheet.md
Created February 10, 2020 20:12 — forked from azadkuh/vim-cheatsheet.md
vim / vimdiff cheatsheet - essential commands

Vim cheat sheet

Starting Vim

vim [file1] [file2] ...

@nickzse
nickzse / .bash_profile
Created December 15, 2016 21:29 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
@nickzse
nickzse / arch-linux-install
Created May 25, 2016 20:49 — forked from mattiaslundberg/arch-linux-install
Minimal instructions for installing arch linux on an UEFI system with full system encryption using dm-crypt and luks
# Install ARCH Linux with encrypted file-system and UEFI
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
# Download the archiso image from https://www.archlinux.org/
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
# Set swedish keymap
@nickzse
nickzse / keybase.md
Created November 13, 2015 21:26
keybase.md

Keybase proof

I hereby claim:

  • I am nickzse on github.
  • I am nickzse (https://keybase.io/nickzse) on keybase.
  • I have a public key whose fingerprint is CF19 06BC 362B 33D3 C3F5 8287 0315 BD63 63E3 4F87

To claim this, I am signing this object: