Tag Info

Hot answers tagged

2

This worked well for me: Enable firewall via System Preferences Create ipfw startup file as described here: http://serverfault.com/a/235124/94860 Add the following line to the startup file, as described here: http://blog.xeiam.com/blog/2013/06/27/port-forwarding-80-to-8080-for-tomcat-using-ipfw-on-mac-osx/ add 100 fwd 127.0.0.1,8080 tcp from any to any 80 ...


2

From my understanding, it seems that you only use one local dev machine, means not connected to any network that provides a DNS. If i am right, i would suggest to setup things like described below : step 1 : Assign at least two IP address to your MAC OS (one per domain), let's say : 192.168.0.10 192.168.0.11 To setup the second IP you will have to add a ...


1

#!/bin/sh # latency.sh oif="em0" # just the interface looking to the outer space # let's create two seperate pipes ipfw pipe 1 config delay 10000ms bw 1Kbit/s ipfw pipe 2 config delay 10000ms bw 1Kbit/s # let's pipe some traffic # going in... ipfw add 1000 pipe 1 all from myurl.com to any in via $oif # and out... ipfw add 1001 pipe 2 all from any to ...


1

are you allowing tcp/80 "new" connections? what port is apache listening on, and where should connections be accepted from? these rules shouldnt be causing any slowdown: 00200 allow tcp from any to any dst-port 80,443 in setup keep-state 00210 allow tcp from any to any dst-port 80,443 out setup keep-stat perhaps these ports are taxing on the ...


1

It sounds like Apache has a dependency on other services which the firewall is blocking. Without knowing what applications you're running, it's difficult to give more exact info, but you're blocking access to everything on localhost which seems wrong. Start by commenting out all of the deny lines and make sure that it works at the same speed. Then slowly ...



Only top voted, non community-wiki answers of a minimum length are eligible