tun proxy simple demo script I found, modified to work on mac
updated