[SOVLED by '!' ]how to specify IP not equal to in iptables rules ????
Jatin K
ssh.fedora at gmail.com
Sat Jul 16 04:25:13 UTC 2011
On Friday 15 July 2011 07:49 PM, g wrote:
> On 07/15/2011 09:46 AM, Jatin K wrote:
>> On Friday 15 July 2011 03:10 PM, James Hogarth wrote:
>>>> '!' Solved my problem
>>>>
>>> Really? Because what you have there is the opposite of that which you
>>> stated you were trying to accomplish in your first post.
>>>
>>> Now that IP is the only IP that can access your FTP server and all
>>> others get dropped.
>>>
>> yes and thats what I wanted ,,,,, Only specified IP can ftp to the server
> ---
>
>
> which is not what you stated in your first post, which was;
>
> }> I want to deny a particular IP (172.16.158.111) address in my network to
> }> FTP on server (RHEL6), I'm trying to add the following[1][2] iptabls
> }> rules on server and getting error [3]
>
Sorry, that was my mistake :-(
actually I got the solution what was needed , from this list .
--
°v°
/(_)\
^ ^ Jatin Khatri
Registerd Linux user No #501175
www.counter.li.org
No M$
More information about the users
mailing list