I hereby claim:
- I am iragsdale on github.
- I am iragsdale (https://keybase.io/iragsdale) on keybase.
- I have a public key whose fingerprint is 9869 09E0 75E1 F698 70F3 9323 EB5A 50F3 B4A1 C03A
To claim this, I am signing this object:
require 'eventmachine' | |
require 'net/dns' | |
require 'net/dns/resolver' | |
module EM # :nodoc: | |
module Protocols | |
include Logger::Severity | |
class AsyncResolver < Net::DNS::Resolver |
I hereby claim:
To claim this, I am signing this object:
# enable port forwarding | |
sysctl net.inet.ip.forwarding=1 | |
sysctl net.inet.ip.fw.enable=1 | |
sysctl net.inet.ip.fw.verbose=1 | |
# divert traffic | |
echo rdr pass on en0 proto tcp from 192.168.33.241/32 to any port 143 -> 127.0.0.1 port 10143 >> ./pfrules | |
echo rdr pass on en0 proto tcp from 192.168.33.241/32 to any port 993 -> 127.0.0.1 port 10993 >> ./pfrules | |
pfctl -ef ./pfrules |