Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Using NAT for container with private IPs

104 bytes removed, 22:27, 3 March 2013
-F deletes all the rules, surely that is not is intended here
<pre>
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"
</pre>
 
Don't forget to flush the [[Hardware Node]] iptables rules to apply changes:
 
<pre>
iptables -F
</pre>
Anonymous user