How do I set up a firewall UDP allow rule in WHM for VPS?
Category: How To
Have a question?
Ask the Community!

Question Asked by Taciturn

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

Resolved Question
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.
  • Asked 2011-10-24 14:29
  • Hits: 10792
  • Closed on: 2011-10-24 13:48

Best Answer Chosen by Taciturn

Vote
0
0
0
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.

Thank You!

Tim S
2011-10-24 14:47

No other Answers Submitted


Rating:
 
Please log in to rate this question.
Like this Question?

Comments

Currently no comments

You must log in before commenting.

Need more Help?

Search
Current Customers
Chat:Click to Chat Now
Call:888-321-HOST (4678)
E-mail:support@InMotionHosting.com
Ticket Submit a Support Ticket
Need more How To help?
Try browsing the standard How To category page in our Knowledge Base.
Not a Customer?
Get web hosting from a company that is here to help. Sign up today!

Follow InMotion Hosting!

 4236 Followers. Follow Us!