Skip to content

Instantly share code, notes, and snippets.

@BigelowInc
BigelowInc / reserved_words.py
Created July 21, 2016 20:41 — forked from ishahid/reserved_words.py
Reserved words to exclude when creating usernames (or any other resource).
# A list of possible reserved words
reserved_words = [
# Companies
'amazon', 'apache', 'apple', 'atlassian', 'facebook', 'github', 'google',
'htc', 'microsoft', 'mozilla', 'nokia', 'rim', 'samsung', 'sony', 'toshiba',
'twitter', 'wikipedia',
# Operating systems
'android', 'centos', 'debian', 'dos', 'fedora', 'ios', 'linux', 'mac',
@Wysie
Wysie / gist:7487571
Last active February 3, 2023 02:10
Script to route traffic from home network through VPN selectively.Based off the discussion at http://www.smallnetbuilder.com/forums/showthread.php?t=9311The setup is a Roku box, a Home PC running Plex, and a Synology NAS with a torrent client running a web interface.The aim is to have all traffic from Roku go through the VPN, all traffic from th…
#!/bin/sh
# Script to route traffic from home network through VPN selectively.
# Based off the discussion at http://www.smallnetbuilder.com/forums/showthread.php?t=9311
# The setup is a Roku box, a Home PC running Plex, and a Synology NAS with a torrent client running a web interface.
# The aim is to have all traffic from Roku go through the VPN, all traffic from the Home PC (and all other devices) bypassing the VPN,
# and the Synology NAS using the VPN. There are however some exceptions. Since Plex uses port 32400, Roku has to bypass the VPN when
# using that port. In addition, port 9091 has to bypass the VPN as well in order to access the Synology torrent client.
#
# Requirements: Asuswrt-Merlin with OpenVPN already set up