OpenVZ Forum


Home » Mailing lists » Users » Ulogd + iptables configuration
Re: Ulogd + iptables configuration [message #45465 is a reply to message #45447] Sun, 11 March 2012 21:46 Go to previous messageGo to previous message
cyrolancer is currently offline  cyrolancer
Messages: 15
Registered: July 2011
Junior Member
Hello,

Commenting IPTABLES lines in vz.conf and the {VE_ID}.conf corrected the
issue.

Thanks,

Onur R. Bingol


On 11.03.2012 04:52, ggw@unixservice.com wrote:
> 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: Fri Oct 03 05:08:59 GMT 2025

Total time taken to generate the page: 0.13379 seconds