Skip to main content

Timeline for Forward traffic to Docker container

Current License: CC BY-SA 3.0

12 events
when toggle format what by license comment
Feb 4, 2017 at 12:47 vote accept wasp256
Feb 4, 2017 at 12:47 comment added wasp256 Great everything works now, thx a lot for the help!
Feb 4, 2017 at 10:18 comment added Wissam Roujoulah @wasp256 sry, there was a typo in the chain name.
Feb 4, 2017 at 10:17 history edited Wissam Roujoulah CC BY-SA 3.0
edited body
Feb 4, 2017 at 9:59 comment added wasp256 I tried it agaiin now, but I can't even apply it, I get the error iptables: No chain/target/match by that name. when executing the command on host B
Feb 4, 2017 at 9:52 comment added Wissam Roujoulah @wasp256 use the last rule that i mentioned
Feb 4, 2017 at 9:49 comment added wasp256 Just by using the port map from the first command when starting docker forwards the packets into the container; the problem still remaining is to send the packets from within the container to the host, because the iptable rules for port 22223 don't seem to work
Feb 4, 2017 at 7:48 comment added Wissam Roujoulah You should be aware where this rule is apply in the iptables and if there is some rule prevent the packet from continue it's way, I edited my answer.
Jan 31, 2017 at 14:12 history edited Wissam Roujoulah CC BY-SA 3.0
added 2 characters in body
Jan 31, 2017 at 13:48 history edited Wissam Roujoulah CC BY-SA 3.0
added 205 characters in body
Jan 31, 2017 at 13:41 comment added wasp256 I have tried the first rule and the traffic is being send to Host B:22223 but not further to the docker container
Jan 31, 2017 at 12:47 history answered Wissam Roujoulah CC BY-SA 3.0