[CentOS] question on lokkit
Jerry Geis
geisj at pagestation.comTue Aug 29 13:55:08 UTC 2006
- Previous message: [CentOS] hi can anybody send me the SER installation step by step?
- Next message: [CentOS] Which kernel package?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [CentOS] hi can anybody send me the SER installation step by step?
- Next message: [CentOS] Which kernel package?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list