Skip to content

Instantly share code, notes, and snippets.

@tjelen
tjelen / zerotier-ubuntu-gateway.md
Last active December 29, 2023 13:34
Zerotier: Setting up the default gateway in Ubuntu Linux

Zerotier Ubuntu config notes

Setting up the default gateway (for VPN tunelling)

Ubuntu 18.04 UFW settings, based on [1] Step 1

  • ens3 .. primary physical ETH interface
  • 10.243.0.0/16 .. ZT network
@tjelen
tjelen / lookup.js
Created March 13, 2017 10:44
Lookup by path (IE9+)
'use strict'
function lookup(value, path, defaultVal) {
defaultVal == null && (defaultVal = null)
if (value == null) {
return defaultVal
}
if (path === '.' || path === '') {

Keybase proof

I hereby claim:

  • I am tjelen on github.
  • I am jelenex (https://keybase.io/jelenex) on keybase.
  • I have a public key whose fingerprint is 7EEC A32A 40F8 3725 77B9 5EE1 7B1D 0E1B 377C EBC9

To claim this, I am signing this object: