ysbaddaden/prax — pull request #108 by ysbaddaden (2014-11-27 15:37:49+00:00)
Title: Target iptables rules for external requests

The PREROUTING rules aren't behaving properly since Ubuntu 14.04 and some users have routing problems with Docker.

These rules are meant to redirect the external requests from ports 80 and 443 to ports 20559 and 20558 —since Prax runs with ser privileges it can't listen on these ports, and it's cumbersome to handle manual ports in URL (for the developer and sometimes in the application too).

I changed the existing rules to target the `eth*` and `wlan*` devices specifically, instead of prerouting everything.

Relates to #87 and #102