OpenVZ Forum


Home » Mailing lists » Users » Ulogd + iptables configuration
Re: Ulogd + iptables configuration [message #45447 is a reply to message #45446] Sun, 11 March 2012 02:52 Go to previous messageGo to previous message
Gary Wallis is currently offline  Gary Wallis
Messages: 15
Registered: July 2011
Junior Member
On 3/10/2012 8:46 PM, Onur R. Bingol wrote:
> Hello,
>
> I am trying to configure a Debian 6 container. In this container, I want
> all iptables logs to be written in a MySQL DB. To achieve this, I am
> using ulogd and ulogd-mysql packages on the container.
>
> On the HW node, which is a CentOS 5 machine, I enabled ipt_ULOG module
> according to the OpenVZ User's Guide (i.e. by adding ipt_ULOG to
> /etc/sysconfig(iptables-config file, and rebooting). I also added
> ipt_ULOG to the container's configuration file and rebooted the
> container. However, I am getting a warning like "ipt_ULOG not found,
> skipping" while rebooting the container. As a result, I cannot install
> ulogd and ulogd-mysql to the container due to errors about ipt_ULOG module.
>
> Are there any ideas to fix this issue?

Onur,


You need to start by including the modules in the host node
/etc/vz/vz.conf file iptables kernel module configuration line. Here is
a sample line:

## IPv4 iptables kernel modules
IPTABLES="ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter
iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length"

Then you need to restart vz for the changes to take effect.

Cheers,
Gary Wallis


>
> Thanks,
>
> Onur
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Simple OpenVZ load average aggregation script
Next Topic: howto device by-id
Goto Forum:
  


Current Time: Wed Aug 06 02:14:26 GMT 2025

Total time taken to generate the page: 2.34897 seconds