Created
August 15, 2016 13:37
-
-
Save samba2/45df2b0dd91d0323c15057b49758007e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Chain PREROUTING (policy ACCEPT) | |
target prot opt source destination | |
DOCKER all -- 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type LOCAL | |
Chain INPUT (policy ACCEPT) | |
target prot opt source destination | |
Chain OUTPUT (policy ACCEPT) | |
target prot opt source destination | |
DOCKER all -- 0.0.0.0/0 !127.0.0.0/8 ADDRTYPE match dst-type LOCAL | |
Chain POSTROUTING (policy ACCEPT) | |
target prot opt source destination | |
MASQUERADE all -- 172.17.0.0/16 0.0.0.0/0 | |
MASQUERADE tcp -- 172.17.0.2 172.17.0.2 tcp dpt:1521 | |
MASQUERADE tcp -- 172.17.0.2 172.17.0.2 tcp dpt:22 | |
Chain DOCKER (2 references) | |
target prot opt source destination | |
DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:49161 to:172.17.0.2:1521 | |
DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:49160 to:172.17.0.2:22 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment