Skip to content

Instantly share code, notes, and snippets.

Accessing docker container private network easily from your boot2docker host
-----
(from http://ispyker.blogspot.com/2014/04/accessing-docker-container-private.html)
add a Host-only adapter in VirtualBox
OSX:
# show route table
netstat -nr
@dcava
dcava / vyatta_wireguard_build.sh
Created January 6, 2019 06:11 — forked from aswild/vyatta_wireguard_build.sh
Download and build the wireguard kernel module and tools for EdgeOS. see https://github.com/Lochnair/vyatta-wireguard
#!/bin/bash
WIREGUARD_TAG=0.0.20181218
THISDIR=$(readlink -f $(dirname $0))
SYSROOT=$THISDIR/sysroot
TARGET=mips64-octeon-linux-gnu
MUSL_CC=$SYSROOT/bin/musl-gcc
export PATH=$THISDIR/toolchain/bin:$PATH
@dcava
dcava / gist:77049d346094d0771fe6c0cee0bf3079
Created January 28, 2019 11:43
Wireguard compile for synology
https://www.reddit.com/r/synology/comments/a2erre/guide_intermediate_how_to_install_wireguard_vpn/
[Guide] [Intermediate] How to install Wireguard VPN
After lots of trial and error I figured out how to compile Wireguard for my DS718+. The first thing I did was search in this sub for a guide but didn't find any.
WARNING
Wireguard is still experimental software. You should stay up-to-date with the daily snapshots.
This guide also requires familiarity with the command line and how to build software from source.
@dcava
dcava / README.md
Last active March 22, 2020 21:35 — forked from pamolloy/README.md
Ubiquiti USG configuration for Wireguard
@dcava
dcava / setup.sh
Created January 16, 2023 05:11 — forked from bradp/setup.sh
New Mac Setup Script
echo "Creating an SSH key for you..."
ssh-keygen -t rsa
echo "Please add this public key to Github \n"
echo "https://github.com/account/ssh \n"
read -p "Press [Enter] key after this..."
echo "Installing xcode-stuff"
xcode-select --install