OpenVZ Forum - RDF feed
type: channel
items: how to block an ip from all VE's
items: Re: how to block an ip from all VE's

how to block an ip from all VE's
type: item
description: Hello i have installed apf , iptables on the HN when i ban an ip of HN with apf -d ip and iptables -I INPUT -p tcp -s ip -j DROP i find the ip banned from the main HNM ip which the banned ip can still access and keep flooding any VE on the other ips please advise
creator: sara3
date: 2008-03-09T12:05:32-00:00

Re: how to block an ip from all VE's
type: item
description: I'm a noob to OpenVZ, but I think you should also block that IP from the FORWARD table: iptables -A FORWARD -s ip -j DROP Cheers.
creator: ArsDangor
date: 2008-03-09T18:04:44-00:00

Re: how to block an ip from all VE's
type: item
description: hi thanks but sadly it didn't help
creator: sara3
date: 2008-03-09T19:40:18-00:00

Re: how to block an ip from all VE's
type: item
description: Hello your help in solving this issue is greatly important for me thanks
creator: sara3
date: 2008-03-14T10:14:47-00:00

Re: how to block an ip from all VE's
type: item
description: iptables -I FORWARD -i veth0 -d banned_ip -j DROP
creator: aTan
date: 2008-03-14T16:44:15-00:00