Closed AhmedHanafy725 closed 5 years ago
Clearing a miss-understanding on the gateway port-forwards
So from what I see, this looks correct. To validate, run nft list ruleset
inside the container to check that those ports are reforwarded to the requested destination.
@grimpy please confirm
Yes, I found the rule inside the container.
and this rule in the node
and I had a server running on10.147.18.196:2856
so I was expecting to reach the server through10.2.20.4:3176
, but this didn't happen
steps:
1- create gateway with this data using (template: github.com/threefoldtech/0-templates/gateway/0.0.1) 2- get gateway's container info
Actual Result
The target port is same as source port in container info port forward from public network to private one (did it twice on these ports 6000, 3568 to make sure)