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

Re: ipchains

On 28-Mar-2000 Luc Stepniewski wrote:
> Dhiman Barman wrote:
>>   what's wrong with the following statement ?
>>   ipchains -A input -p TCP -dport 25 -i eth0 -j ACCEPT
>> ipchains: host/network '-dport' not found
> It's --dport (with TWO '-')

Isn't that ipchains trying to resolve 'dport' as host/network?

You have type something like that:

ipchains -A input -p TCP -d 0/0 25 -i eth0 -j ACCEPT

and maybe change destination address.

E-Mail: Milan P. Stanic <mps@4net.co.yu>
Key fingerprint = EA81 54A6 7F35 5A38 FCE6  9EF6 9D24 E68E 5C1D AF15