Question about iptables and docker


Recommended Posts

Hi

i have on my unraid also dockers setup as "Network type: custom (bro)" and Fixed IP Address (example) 192.168.0.20 while unraid itself does run un 192.168.0.10.

This works like a charm - BUT only docker containers cannot connect to those IP Address. Other clients in the network have no issue.

As I'm nowadays transferred my reverse-proxy into a docker - those docker cannot connect to the example docker session.

 

I´m guessing this is due to IP-Tables?

I´m guessing the chain "DOCKER" doesn't accept any packages traveling from a 172.17.0.0/24 container to another container which is e.g. 192.168.0.20 ... but i haven't enough clue on the detailed routing.

Does anyone can provide me a hint? (where to look, what to try)

And finally: how can i make any iptables rules persistant?

 

Thank you in advance

Kind regards

Thorsten Gehrig

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.