Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Blocking hosts

I havent been able to block ip's from contacting my server, anyone have an idea?

I defined the ip i want to block

i've tried packet filter

block_ip   any   any   drop

i also tried deny and made no difference

the only packetfilter rule i currently have is 
private networks - RFC1918 any any allow for masquerading

I have tried

iptables -A AUTO_INPUT -s 123.456.789.321 -j DROP
and
iptables -A INPUT 123.456.789.321 -j DROP

with no success

all i need is to know where to add a rule to block a host from all contack preferably a command line response because that is how i want to add this rule from a seaperate program

thanks

[ 16 January 2002: Message edited by: Boltz ]



This thread was automatically locked due to age.
Parents Reply
  • I will try again and do a port scan on the firewall from the host i want to block as a test

    but i am sure that it still will find open ports and still make contact

    see i have tested blocking my webserver and i can still access the webserver. I also can ping and portscan the astaro server from the blocked host
Children