OpenVZ Forum


Home » General » Support » *SOLVED* How to disable raw sockets
Re: How to disable raw sockets [message #3791 is a reply to message #3790] Fri, 16 June 2006 13:04 Go to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
If you want to limit packages per second rate from VE you can use the following command on HN:

# iptables -I FORWARD 1 -o eth0 -s x.x.x.x -m limit --limit 200/sec -j ACCEPT
# iptables -I FORWARD 2 -o eth0 -s x.x.x.x -j DROP


x.x.x.x is the IP address of VE, you want to limit.

Good luck!

[Updated on: Fri, 16 June 2006 13:04]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* Time inside vps differs from the host machine
Next Topic: *SOLVED* 2.6.16+026test014 compilation Error
Goto Forum:
  


Current Time: Thu Oct 17 04:57:25 GMT 2024

Total time taken to generate the page: 0.05381 seconds