Issue web access inside docker due iptables on ubuntu

Dear everyone,

I have a problem getting full rest web access and webhook calls running inside a docker container.

Think I need to do some iptables adjustments on the ubuntu v20 host.

First problem was that

“wget commands” ended in a timeout. With the adjustment on the host

iptables -I FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu

I was able to get this running.

Is there a way to deactivate the iptables an get the full routing and forwarding running?

Thanks in advance

To be more concrete:
I have a problem with http requests e.g. WGET www.google.com in a docker container.
The command hangs.

If I exectute this command
iptables -I FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
everything works fine inside the docker container.
But I cannot get this persistent after host reboot. Also not with iptables-persistent.
Always need manually enter the command.

Think there must be a correct solution for that problem?!

Thanks for your help.

regards