How do I set up a firewall UDP allow rule in WHM for VPS?
I'm trying to add an "allow" rule for specific UDP ports using WHM. I can successfully allow traffic on all ports from a specific IP address, using s=[ip]. I can also allow TCP traffic to specific ports from anywhere, using d=[port]:s=0.0.0.0/0. These commands are accepted by the "Add IP to firewall" page in WHM and I have successfully tested sending traffic to the relevant TCP ports from different IP addresses.
However, doing the same for UDP traffic fails. I used the format "udp:d=[port]:s=0.0.0.0/0"; WHM accepts the rule, but when the firewall restarts, the relevant output is:
allow h 0.0.0.0/0 to port [port]
and UDP packets to the specified port still seem to be blocked.
How do I allow UDP traffic (to specific ports from any IP) from within WHM? I have not requested root privileges on the VPS, so I cannot directly edit the firewall configuration files.
However, doing the same for UDP traffic fails. I used the format "udp:d=[port]:s=0.0.0.0/0"; WHM accepts the rule, but when the firewall restarts, the relevant output is:
allow h 0.0.0.0/0 to port [port]
and UDP packets to the specified port still seem to be blocked.
How do I allow UDP traffic (to specific ports from any IP) from within WHM? I have not requested root privileges on the VPS, so I cannot directly edit the firewall configuration files.