Skip to content

Instantly share code, notes, and snippets.

@draplater
Created January 15, 2015 14:32
Show Gist options
  • Save draplater/8414f4ae44eff6e1a929 to your computer and use it in GitHub Desktop.
Save draplater/8414f4ae44eff6e1a929 to your computer and use it in GitHub Desktop.
Use obfsproxy as a wrapper tunnel.
#map 10.5.7.1:80 to 127.0.0.1:10194.
#server(10.5.7.1):
obfsproxy --log-min-severity=info dummy server 10.5.7.1:2801 --dest=10.5.7.1:80
#client:
obfsproxy --log-min-severity=info dummy client 127.0.0.1:10194 --dest=10.5.7.1:2801
# wget http://127.0.0.1:10194/pdf/ -O /dev/null
# --2015-01-15 22:29:55-- http://127.0.0.1:10194/pdf/
# Connecting to 127.0.0.1:10194... connected.
# HTTP request sent, awaiting response... 200 OK
# Length: unspecified [text/html]
# Saving to: '/dev/null'
#
# [ <=> ] 651 --.-K/s in 0s
#
# 2015-01-15 22:29:55 (59.0 MB/s) - '/dev/null' saved [651]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment