I am wanting to pass arguments to lokkit to set up the iptables config file
with an entry like this: ( i dont want to manually edit it - I want to
do it automatically)
iptables -A INPUT -p udp -m udp --dport 10000:20000 -j ACCEPT
I have a small script file that has in it the ports I want enabled, like:
-------------------
PORT_SSH="--port=22:tcp"
PORT_HTTP="--port=http:tcp"
/usr/sbin/lokkit -q --high --dhcp -t lo -t eth0 -t eth1 $PORT_SSH $PORT_HTTP
-------------------
I want to add another line to enable ports 10000 - 20000.
however the ":tdp" or ":udp" conflict with 10000:20000.
I tried useing something like "10000,20000:udp" but did not work.
THanks for any suggestions.
Jerry
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos