Tuesday, April 15, 2014

Enable IPtables modules in OpenVZ VPS

SHARE

Enable IPtables modules in OpenVZ VPS


Enable IPtables modules in OpenVZ VPS


Many of servers administrator not know how to Enable IPtables modules in OpenVZ VPS .
This will be done as following scenario.
Adding Rules manually inside node server for any VPS that you want to Enable IPtables modules inside it.
Open the VPS configuration file which exists at the follwoing path:
 /etc/vz/conf/veid.conf .... example: nano /etc/vz/conf/101.conf
veid: is the id of the vps server.
 Add the following in the last line of the file:
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"

Then Restart the container as follow:
# vzctl restart 101

Then open VPS and try to surely that you Enable IPtables modules in OpenVZ VPS .

If you need any help try to contact us.

Enable IPtables modules in OpenVZ VPS





SHARE

Author: verified_user

0 comments: