Min menu

Pages

Enable IPtables modules in OpenVZ VPS

Enable IP tables modules in OpenVZ VPS


Enable IPtables modules in OpenVZ VPS






Many of servers administrator not know how to Enable IP tables 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 IP tables modules inside it.

Open the VPS configuration file which exists at the following 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.






reaction:
https://www.it-weblog.com IT weblog and IT Blog contain articles for computer, network,security ,adsense,Hosting, google,freeware download from IT blog.

Comments