Skip to content

Instantly share code, notes, and snippets.

@w1ndy
w1ndy / socks5.acl
Created December 19, 2016 08:00
Simple SOCKS5 proxy based on systemctl, iptables and ssh with access control
# Put under /etc/
# SOCKS5 proxy access control
# One IPv4 address per line
127.0.0.1
@ayosec
ayosec / config.ru
Created August 9, 2012 13:59
HAProxy basic example
# Simple web server
# Use N_ envvar to identify the process
run lambda {|env|
[ 200, {}, "Ok @ #{ENV["N_"]}"]
}