Skip to content

Instantly share code, notes, and snippets.

View DavidPesticcio's full-sized avatar
🚀
¯\_(ツ)_/¯

David Pesticcio DavidPesticcio

🚀
¯\_(ツ)_/¯
View GitHub Profile
@DavidPesticcio
DavidPesticcio / wireguard_setup_readme.md
Last active November 1, 2020 23:34 — forked from daemonhorn/wireguard_pfsense_setup_readme.md
Wireguard on PFSense / Android / Linux

Preparation Steps:

Read other materials first to familiarize yourself with wireguard and wireguard on FreeBSD / Android: genneko has a nice writeup that is easy to follow and much better formatting here:

https://genneko.github.io/playing-with-bsd/networking/freebsd-wireguard-android/

Backup your entire pfsense system, or run this on a vm after a good snapshot. Failure to do this can easily break you, you have been warned. This is entirely unsupported. Wireguard on PFSense is experimental at this time. Nothing has been tested by me on non AMD64 arch, so unsure if arm pkgs are available. Backup your package database just in case since this impacts core PFSense runtime dependancies.

@DavidPesticcio
DavidPesticcio / docker-compose.yml
Created September 14, 2020 08:39 — forked from Mau5Machine/docker-compose.yml
Traefik Configuration and Setup
version: "3.3"
services:
################################################
#### Traefik Proxy Setup #####
###############################################
traefik:
image: traefik:v2.0
restart: always
@DavidPesticcio
DavidPesticcio / dynamic.yaml
Created September 14, 2020 08:39 — forked from Mau5Machine/dynamic.yaml
Traefik Dynamic Configuration File
## Setting up the middleware for redirect to https ##
http:
middlewares:
redirect:
redirectScheme:
scheme: https
@DavidPesticcio
DavidPesticcio / pfSense config.md
Created March 17, 2020 13:43 — forked from deergod1/pfSense config.md
pfSense Easy Configuration Guide for HP t620 Plus

pfSense Simple Home Configuration - 2.4.3 / 2.4.4

Starting from Scratch

This is my personal guide for installing pfSense. I had to make notes to capture the details of the "install from scratch" to ensure I didn't forget the important details. Also, I'm trying to follow the philosophy of building systems with discrete "disposable" components that make a system mutable and less rigid. It does not cover installing any packages like Squid or Suricata as that's way beyond the scope of a basic, functional install.

I migrated from an environment that was at various times running Tomato Toastman 1.28 or Asuswrt-Merlin on Netgear and ASUS routers across four access points (one always acting as the firewall/gateway). It was pretty fast, but had roaming problems, and I was using full Wifi routers with half the stuff disabled. Also, even with 300mb internet service, I found that I could easily swamp the connection and drastically affect VOIP and Wifi Calling without even trying. The only fix was to throttle ever

@DavidPesticcio
DavidPesticcio / Docker connect to remote server.md
Created November 12, 2019 11:46 — forked from kekru/Docker connect to remote server.md
Connect to another host with your docker client, without modifying your local Docker installation

Run commands on remote Docker host

This is how to connect to another host with your docker client, without modifying your local Docker installation or when you don't have a local Docker installation.

Enable Docker Remote API

First be sure to enable the Docker Remote API on the remote host.

This can easily be done with a container.
For HTTP connection use jarkt/docker-remote-api.

@DavidPesticcio
DavidPesticcio / yubikey-helpers.fish
Created June 24, 2019 13:53 — forked from sprak3000/yubikey-helpers.fish
aws-vault yubikey fish shell helpers
# This is a conversion of the helpers for bash for use in fish shell.
# You can find the original bash code available at https://gist.github.com/chtorr/0ecc8fca27a4c5e186c636c262cc4757
#
# You can either:
# A. Place the entire block below into ~/.config/fish/config.fish
# B. Place the YUBIKEY_PROFILE line into ~/.config/fish/config.fish and place the individual functions into files
# (recommended).
# e.g., ~/.config/fish/functions/_aws_unset.fish contains the body of the _aws_unset function below.
# - install the Yubico authenticator app
@DavidPesticcio
DavidPesticcio / ansible-summary.md
Created April 23, 2019 21:21 — forked from andreicristianpetcu/ansible-summary.md
This is an ANSIBLE Cheat Sheet from Jon Warbrick

An Ansible summary

Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)

Configuration file

intro_configuration.html

First one found from of

@DavidPesticcio
DavidPesticcio / k8s-pi.md
Created March 2, 2019 23:23 — forked from alexellis/k8s-pi.md
K8s on Raspbian
@DavidPesticcio
DavidPesticcio / main.go
Created November 24, 2018 14:30 — forked from julz/main.go
containersched minicontainer
package main
import (
"fmt"
"os"
"os/exec"
"syscall"
)
func main() {
@DavidPesticcio
DavidPesticcio / Jenkins
Created October 6, 2018 14:48 — forked from johnbuhay/Jenkins
Jenkins | Configurations done via init.groovy.d
This file used to name this gist.