Just try this....
Iptables --A INPUT -s 10.2.0.15 -j REJECT
On Jul 4, 2012 12:01 PM, "Alok Singh Mahor" <[email protected]> wrote:

> Hi all,
> I am running a site on my laptop (http://localhost or http://10.160.0.186on 
> ubuntu)
> its accessible to my virtual machine having Ip address 10.0.2.15
> and I dont want any incoming get request from my virtual machine to my site
> so I am setting rule (iptables -A INPUT -s 10.0.2.15 -j DROP)
>
> but its not working ...I still can open my site through virtual machine
> what is wrong from my side? how to set rule to block IP so than cant
> access my site?
> thank you
>
> --
> Alok Singh Mahor
> http://alokmahor.co.cc
> Join the next generation of computing, Open Source and Linux/GNU!!
>
>  --
> Mailing list guidelines and other related articles:
> http://lug-iitd.org/Footer
>

-- 
Mailing list guidelines and other related articles: http://lug-iitd.org/Footer

Reply via email to