Need Help with Port Open UDP
Hi guys I have a problem with iptables
i'm trying to open port udp 7778 make it listen so how I can do that I want this help can anyone help me plz ? thank you very much ^^ (VPS CentOs) |
You will need to add a rule to the INPUT chain permitting traffic to UDP port 7778, and you must make sure this rule appears before other rules blocking UDP traffic.
The simplest (but not necessarily best) way to accomplish this, is to insert a rule at the top of the chain: Code:
iptables -I INPUT -p udp --dport 7778 -j ACCEPT You will also have to save the ruleset to the CentOS configuration files, otherwise the change will be lost next time the system is rebooted. According to the CentOS documentation, you'll need to run the following command: Code:
/sbin/service iptables save |
All times are GMT -5. The time now is 05:49 AM. |