-   Linux - Security (
-   -   UDP ports (

Khalinsar 06-05-2005 11:52 AM

UDP ports
I'm a linux newbie. I'm using Suse 9.3.
How do I allow connections on udp ports? I tried through yast but I can't set a whole interval of ports. How do I do that?

Thank you very much.

Ephracis 06-05-2005 01:51 PM

Check out iptables. Here are some rules:


# allow udp traffic on port 100
iptables -A INPUT -s 0/0 -p udp --dport 100 -j ACCEPT
# allow udp traffic on port 1-10000 from
iptables -A INPUT -s -p udp --dport 1:10000 -j ACCEPT
# allow udp traffic on all ports for everyone
iptables -A INPUT -s 0/0 -p udp --dport 1:65535 -j ACCEPT

man iptables should give you more info. rtfm. ;)

All times are GMT -5. The time now is 11:15 AM.