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 user 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's code too.
I changed the existing rules to target the eth* and wlan* devices specifically, instead of prerouting everything. Let me know if you encounter any problem (or not) with these new rules.
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 user 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's code too.
I changed the existing rules to target the
eth*
andwlan*
devices specifically, instead of prerouting everything. Let me know if you encounter any problem (or not) with these new rules.Relates to #87 and #102