OpenVZ Forum


Home » General » Support » IPtables on Centos 4.2 (host system)
Re: IPtables on Centos 4.2 (host system) [message #2924 is a reply to message #2919] Fri, 28 April 2006 07:22 Go to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
kenchua,

You didn't add enought iptables modules inside VPS.
Just append to /etc/sysconfig/vz or to /etc/sysconfig/vz-scipts/<VPS-ID>.conf file the string:

IPTABLES="iptable_filter iptable_mangle ipt_limit ipt_multiport ipt_tos ipt_TOS ipt_REJECT ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_LOG ipt_length ip_conntrack ip_conntrack_ftp ip_conntrack_irc ipt_conntrack ipt_state ipt_helper iptable_nat ip_nat_ftp ip_nat_irc ipt_REDIRECT"

And start-stop VPSs.
This will add ALL iptables modules to VPS.
You can play further with IPTABLES parameter and investigate,
wich of modules are sufficient for you...
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Clock Issues
Next Topic: Warning: Unable to open an initial console
Goto Forum:
  


Current Time: Wed Aug 27 01:41:59 GMT 2025

Total time taken to generate the page: 0.15804 seconds