Created
October 17, 2013 16:26
-
-
Save immutef/7027945 to your computer and use it in GitHub Desktop.
MacOS, Vagrant, dnsmasq, ipfw
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
listen-address=127.0.0.1 | |
# interface=lo | |
address=/dev/127.0.0.1 | |
address=/local/127.0.0.1 | |
no-dhcp-interface=no |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>fermio.ipfw</string> | |
<key>Program</key> | |
<string>/sbin/ipfw</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/sbin/ipfw</string> | |
<string>-q</string> | |
<string>/etc/ipfw.conf</string> | |
</array> | |
<key>RunAtLoad</key> | |
<true/> | |
</dict> | |
</plist> |
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
flush | |
add 100 fwd 127.0.0.1,8080 tcp from any to me 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Setup
dnsmasq
andipfw
for local development (withVagrant
) on MacOS.Test installation with: