30 Ago, 2009

Habilitar iptables para los containers OpenVZ en Proxmox

Posted by: leopoldomaestro In: Uncategorized

Si deseamos habilitar IPTables para los containers OpenVZ (VPS) en Proxmox, tenemos que hacer lo siguiente:

1) Abrir el fichero /etc/vz/vz.conf

2) Comentar la actual linea de IPTABLES= y añadir lo siguiente:

IPTABLES=”ipt_REJECT ipt_recent ipt_owner ipt_REDIRECT ipt_tos ipt_TOS ipt_LOG ip_conntrack
ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length ipt_state iptable_nat ip_nat_ftp”

Salvamos el fichero y reiniciamos el servicio vz:

/etc/init.d/vz restart

Si todo fue bien, ya podemos usar iptables en las vps.

3 Respuestas en "Habilitar iptables para los containers OpenVZ en Proxmox"

1 | Habilitar IPTABLES en OpenVZ containers / Proxmox PVE

agosto 4th, 2010 at 1:15 am

Avatar

[…] de Proxmox basados en OpenVZ será necesario habilitar el uso de IPTABLES. Leopoldo Maestro nos lo enseña de una forma muy […]

2 | Habilitar IPTABLES en OpenVZ containers / Proxmox PVE | Blog niotelecomunicaciones.com

marzo 4th, 2011 at 4:53 pm

Avatar

[…] de Proxmox basados en OpenVZ será necesario habilitar el uso de IPTABLES. Leopoldo Maestro nos lo enseña de una forma muy […]

3 | Yoire Amador Rodríguez

abril 5th, 2012 at 4:51 pm

Avatar

problemas con iptables en proxmox 2.0:

sale esto

Perhaps iptables or your kernel needs to be upgraded.
iptables v1.4.8: can’t initialize iptables table `nat’: Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.4.8: can’t initialize iptables table `nat’: Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.4.8: can’t initialize iptables table `nat’: Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.4.8: host/network `eth0′ not found
Try `iptables -h’ or ‘iptables –help’ for more information.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.

Haz un comentario

Categorias

Publicidad

Sobre el blog

Blog personal de Leopoldo Maestro en el que se cubren noticias, curiosidades y experiencias relacionadas con la Administración de Sistemas, Networking, Negocios, Tecnología...

Publicidad