Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

two wan intefaces #7

Closed
mamashin opened this issue May 25, 2016 · 2 comments
Closed

two wan intefaces #7

mamashin opened this issue May 25, 2016 · 2 comments

Comments

@mamashin
Copy link

Hello !

I've 2 wan ports (eth0 and eth1) on host, requests to containers comes from both, but in "external_network_interface" I can setup only one. Can I remove info about int at all ?

was:

#1: host:80 -> nginx_1:80 / tcp
-A DFWFW_PREROUTING -i eth1 -p tcp --dport 80 -j DNAT --to-destination 172.18.0.2:80

will:

#1: host:80 -> nginx_1:80 / tcp
-A DFWFW_PREROUTING -p tcp --dport 80 -j DNAT --to-destination 172.18.0.2:80
@irsl
Copy link
Owner

irsl commented Jun 1, 2016

Thank you for the report. I am going to improve this particular area (supporting multiple interfaces, overriding them in rule blocks)

@mamashin
Copy link
Author

mamashin commented Jun 8, 2016

Works great, thanks a lot !

@irsl irsl closed this as completed Jun 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants