Skip to content

Instantly share code, notes, and snippets.

@05px
05px / wg-config.bash
Created September 22, 2017 00:39 — forked from insom/wg-config.bash
#!/bin/bash
modprobe ipv6
modprobe udp_tunnel
modprobe ip6_udp_tunnel
ip link add dev wg0 type wireguard
wg setconf wg0 /etc/wireguard/config
wg showconf wg0
brctl addbr internet
brctl stp internet on
ip link set up dev wg0
@05px
05px / gist:2559f900786e5703dd3d5643c995f6a2
Created September 13, 2017 17:48 — forked from Thinkscape/gist:3426581
Optware on DD-WRT with TL-WR1043ND
# From: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=86912
# 1. Prepare the USB disk
# Create an ext3 partition using GParted for instance
#2. Configure DD-WRT
#Under Services->Services->Secure Shell:
#* Enable SSHd
#* Click Apply Settings
#