Skip to content

Instantly share code, notes, and snippets.

View butterl's full-sized avatar

butterl

View GitHub Profile
@butterl
butterl / ip_forward.md
Last active March 20, 2024 02:03 — forked from tzermias/ip_forward.md
Forward traffic from wlan0 to eth0 interface

FORWARD LAN(eth0) traffic to wg0 vlan and make a transparent proxy

Enable IP forwarding

sudo sysctl -w net.ipv4.ip_forward=1

Start the wg0

sudo wg-quick up wg0

@butterl
butterl / rPi3-ap-setup.sh
Created November 22, 2018 02:08 — forked from Lewiscowles1986/rPi3-ap-setup.sh
Raspberry Pi 3 access-point-setup
#!/bin/bash
#
# This version uses September 2017 august stretch image, please use this image
#
if [ "$EUID" -ne 0 ]
then echo "Must be root"
exit
fi
@butterl
butterl / build-git.sh
Created November 1, 2017 03:30 — forked from pescobar/build-git.sh
compile git with openssl instead of gnutls
#!/usr/bin/env bash
# Clear out all previous attempts
rm -rf "/tmp/source-git/"
# Get the dependencies for git, then get openssl
sudo apt-get install build-essential fakeroot dpkg-dev -y
sudo apt-get build-dep git -y
sudo apt-get install libcurl4-openssl-dev -y
mkdir -p "/tmp/source-git/"