How do I set up a firewall UDP allow rule in WHM for VPS?

Category: How To

Taciturn
Asked:
2011-10-24 2:29 pm EST

Hits: 13,379
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.

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Best answer chosen by User

0

Tim S.
Staff
6,907 Points
2011-10-24 2:47 pm EST
Hi Taciturn,

Thanks for posting your question. The "Add IP to Firewall" tool in WHM was primarily written by our systems administrators so you can easily add your IP address to the firewall for WHM access. I have ran some tests, and it does not like the format that should be used such as:

udp:in:d=21:s=192.168.0.100

Without root access, you will need to contact our support department so we can add the rule for you. You can either call our support department, or email support at: support@inmotionhosting.com

If you email support your request, you will need to verify your account in the email as well. To verify the account, you will need to provide us with the last four digits of the credit card, or the current AMP password.

If you need further assistance please feel free to contact us. Or if you are looking for a VPS or thinking about upgrading, click here to see why our VPS plans are a great low cost option.

Thank You!

Tim S

You must login before you can post a comment about this answer.

Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!