Open thalesmaoa opened 1 year ago
I've a similar problem runnung iptables -L
seems no rules has been applied after container startup, but if i try to add the iptables rule like you did seems it doesn't work for me.
Replace -C
by -A
. Append the rule.
Thanks @thalesmaoa, but I've just tried with append but it's not working, anyway the rule seems to be applied just checked with iptables -t nat -L
Can you post the full command history?
Hi there, I need some help in order to understand an odd behavior in my docker container. I can connect, but I have no internet connection.
At server side, I have internet connection:
At client side, after connected, I have no internet.
To solve it, I've created a iptables NAT inside the container:
After that, at client side: