Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

Target iptables rules for external requests #108

Merged
merged 1 commit into from
Nov 28, 2014
Merged

Target iptables rules for external requests #108

merged 1 commit into from
Nov 28, 2014

Conversation

ysbaddaden
Copy link
Owner

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.

Relates to #87 and #102

@mbarrin
Copy link

mbarrin commented Nov 27, 2014

I can have prax and docker working at the same time now.

Thanks!

@ysbaddaden
Copy link
Owner Author

Cool! Let's merge.

ysbaddaden added a commit that referenced this pull request Nov 28, 2014
Target iptables rules for external requests
@ysbaddaden ysbaddaden merged commit c939e0a into master Nov 28, 2014
@ysbaddaden ysbaddaden deleted the iptables branch November 28, 2014 18:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants