Created
May 25, 2016 21:03
-
-
Save xardit/4e9bdb5f42b602cc4a7ccc59e6eba7f4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#create a loop device “lo0” | |
ifconfig lo0 10.0.0.1 alias | |
# forward input data at 10.0.0.1:80 to real server 127.0.0.1:9090 | |
ipfw add fwd 127.0.0.1,9090 tcp from me to 10.0.0.1 dst-port 80 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment