[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: iptables und bittorrent



On Mon, Dec 22, 2003 at 11:54:46PM +0100, Michael Dose wrote:
> hallo,
> 
> eigentlich geht es mir mittlerweile weniger um die nutzung von
> bittorrent als um die meldung auf diese beiden  iptables regeln. 
> 
> iptables -A INPUT -i $IFACE_EXT -p UDP --dport 6881:6889 -j ACCEPT
> Warning: weird character in interface `-p' (No aliases, :, ! or *).
> Bad argument `UDP' 
> 
> iptables -A INPUT -i $IFACE_EXT -p TCP --dport 6881:6889 -j ACCEPT
> Warning: weird character in interface `-p' (No aliases, :, ! or *).
> Bad argument `TCP' 

Ich vermute mal, dass $IFACE_EXT keinen Inhalt hat. Laut Fehlermeldung
bezeichnet iptables `-p' naemlich als interface. Und fuer $IFACE_EXT=""
steht da naemlich:

iptables -A INPUT -i -p TCP ....
und damit ist die Syntax irgendwie doch falsch :-)

ciao
Waldemar Gorus



Reply to: