OpenVZ Forum


Home » General » HowTo » iptables Blocking for ALL VEs
iptables Blocking for ALL VEs [message #1123] Wed, 01 February 2006 16:02 Go to previous message
phpfreak is currently offline  phpfreak
Messages: 47
Registered: January 2006
Member
If anyone needs to do firewalling from the host node to affect all VEs, this is the way you can handle it:

iptables -A FORWARD -i eth0 -s 65.254.39.146 -j DROP


Assuming eth0 is your primary network device, this will drop IP 65.252.39.146 on all of your VEs.

This is nothing cosmetic, I just wanted to point out that you should drop them on the FORWARD chain to affect all the VEs.

Good luck,



 
Read Message
Read Message
Previous Topic: Debian template cache creation in 5 minutes
Next Topic: Bandwidth Accounting for VPS
Goto Forum:
  


Current Time: Sat Apr 27 21:22:52 GMT 2024

Total time taken to generate the page: 0.02403 seconds