iptables problem script
Hello everybody!
I am having a problem with a iptables script, i hope someone can help me understand, here is one of the problem: /sbin/iptables -A OUTPUT -o $EXTINT -p UDP --sport $LOCALPORTS -m state --state NEW,ESTABLISHED --dport 53 -j ACCEPT it returs this: iptables v1.2.6a: invalid TCP port/service `--dport' specified Try `iptables -h' or 'iptables --help' for more information. I have used this script and modifyed it, but her is the orginal: http://home.swbell.net/berzerke/ipta...llv0.92.script thanks thuns |
you cant use --dport untill you have specified a protocol...
UDP is not a valid protocol, however udp is. (case sencitive) |
I found the problem... an variabel had lost it's value...
|
Quote:
|
strange... thats gota be one of the first linux things ive oud that are not case sencitive :p
|
All times are GMT -5. The time now is 05:28 PM. |