Skip to content

Instantly share code, notes, and snippets.

View aliwatters's full-sized avatar

Ali Watters aliwatters

  • travelblog.org
  • Portland, OR
View GitHub Profile
@aliwatters
aliwatters / setup-git-main-default.sh
Last active January 20, 2021 03:58
Default to main branch on git init
#!/bin/bash -x
# from git 2.28
git config --global init.defaultBranch main
# before git 2.28
# set git to use "main" instead of "master" on `git init`
# suggestion - run commands these manually!
# show existing settings
@aliwatters
aliwatters / meraki_strongswan_notes.md
Created September 8, 2016 17:39 — forked from psanford/meraki_strongswan_notes.md
connect to meraki client vpn from strongswan (ubuntu 16.04 edition)

These are my notes for connecting to a meraki client vpn from ubuntu 16.04. This configuration assumes you are using a psk for the ipsec auth.

Install the following packages:

apt-get install -y strongswan xl2tpd

Configure strong swan