This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# A simple Linux-only pure-shell showterm client for those without Ruby. | |
# | |
# Mac users (and Linux users with Ruby installed) should use the ruby client: | |
# (sudo) gem install showterm | |
# | |
# Dependencies (please let me know if you don't have them all already) | |
# mktemp (coreutils) | |
# script (util-linux) | |
# tput (ncurses) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
inside_interface='wlan0' | |
rules() { | |
while IFS= read -r line; do | |
eval set -- $line | |
echo "iptables ${@}" | |
echo "$# $@" | |
#iptables ${line[@]} | |
done << EOF |