basecamp / pow

Zero-configuration Rack server for Mac OS X
http://pow.cx/
MIT License
3.41k stars 259 forks source link

dev domains not accessible after i connect to my vpn client #524

Open valachi opened 8 years ago

valachi commented 8 years ago

After i connect to vpn through privateinternetaccess client i can't access .dev domain anymore. It fails with This webpage is not available ERR_CONNECTION_REFUSED in Chrome.

It happens since yesterday when i installed a new version of a client just released.

I can access .dev domains only after i reboot my mac. Any idea what's going on behind the scenes every time i connect to vpn?

roydq commented 8 years ago

Same issue but this is almost certainly a problem with the PIA client. Running the following command fixes things for me after using PIA:

sudo pfctl -f /etc/pf.conf; sudo pfctl -e

So it looks like the PIA client is screwing up port forwarding.

valachi commented 8 years ago

@roybotnik fixes for me too, thanks!

davidmoore-io commented 8 years ago

Fixes for me too, thanks! That was a proper headscratcher for a bit, it appeared like pow was just randomly failing.

randallb commented 8 years ago

Related: I turned on back to my mac and it also caused this issue.

percyhanna commented 8 years ago

This fixed it for me as well. I believe what broke it was turning on "Internet Sharing" in System Preferences. I did that last night, and the last time I had a working .dev was before that.

asgeo1 commented 7 years ago

Having the same issue. So it doesn't seem possible to run both PIA and pow at the same time.

I don't really understand how the PIA client works, but is it something they could potentially address, or is it something Pow could potentially address?

asgeo1 commented 7 years ago

After talking with PIA support, they recommended trying a different OpenVPN client, as they support a couple.

I tried Viscosity, https://www.privateinternetaccess.com/pages/client-support/osx-viscosity and it seemed to work fine with Pow.