IP rules for Ipproto udp does not work in different OS versions
Hi Support team, IP rules to bypass port 53 is not working on all linux versions. In some of the OS, it does not respect the udp dport mentioned and by passes all the protocols and ports. The following line of code is used in this script Internet Income
ip rule add iif lo ipproto udp dport 53 lookup main;
It is not working in the latest/specific versions. It's working in ubuntu 20.04 but not ubuntu 22. This has been tested on https://labs.play-with-docker.com/ and is not working, instead bypassing all the connections to direct network. Docker containers are usually isolated containers and should be working the same way across. Could you please let me know why the command inside the docker container is not working in different OS for same versions. Has something been changed recently with respect to ip rules? Could you please let me know if there are recent changes made with respect to alpine which is causing this issue.
Thank you