Sponsored Content
Operating Systems Linux Red Hat Adding multiple iptables_MODULES Post 302765325 by zazzybob on Saturday 2nd of February 2013 12:42:40 AM
Old 02-02-2013
IPTABLES_MODULES in /etc/sysconfig/iptables-config should be updated to include a space-separated list of modules to load - so in your case:

Code:
IPTABLES_MODULES=”ip_conntrack_netbios_ns nf_conntrack_ftp nf_nat_ftp”

Should do the job.
This User Gave Thanks to zazzybob For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Adding 3 Lines to Multiple c and h files with perl

Hello, i need some help with a perl script. i need to add the lines: #ifdef LOGALLOC #include "logalloc.h" #endif // LOGALLOC To all c and h files in a project with subdirectories. Logalloc is a tool to log all *alloc and free's in a text file, it defines the *alloc funtions new.... (2 Replies)
Discussion started by: Lazzar
2 Replies

2. Shell Programming and Scripting

Adding multiple line at the end of the file

I have 2 files which contains the following lines file1.txt line4 line5 line6 file2.txt line1 line2 line3 When i execute a script , I want my file2.txt will looks like this: line1 line2 line3 line4 line5 (2 Replies)
Discussion started by: kaibiganmi
2 Replies

3. Shell Programming and Scripting

Adding Multiple Lines to Multiple Files

Hello, I have three lines I need to add to hundreds of files. The files are all in the same format and contain the same information. I want to add the same information to the files. The new lines of information are similar. Here is an example of the three lines: line1: line2 =... (2 Replies)
Discussion started by: dayinthelife
2 Replies

4. Shell Programming and Scripting

adding single word to multiple line.

I have following problem. <File A> contains let say 5 lines but can be changed. cat dog fish car if I want to add word to each line then how do I go about it? I used paste -d but that requires two files having same number of lines but in my case <File A> changes and I just need to... (6 Replies)
Discussion started by: paulds
6 Replies

5. Solaris

Adding multiple virtual interfaces on a non global zone.

Hello All, I have a requirement to add multiple virtual interfaces on a non-global zone (Solaris 10). The global zone is a 2 node Veritas Cluster Server. So, my question is do we have to make any modifications to the cluster config (which I think should not be the case)? Can anyone help with me... (11 Replies)
Discussion started by: mahive
11 Replies

6. Shell Programming and Scripting

adding multiple email ID

Hi, I have a script running as a cron job. Is it possible to send the output to multiple user through mail. I cant add multiple mail id. _TOADDR=xxx@xxx.com;xxx@xxx.com _FROMADDR=xxx@xxx.com from=$_FROMADDR emailtarget=$_TOADDR subject=$_SUBJECT CONTENT=$1 Is it possible to send to... (1 Reply)
Discussion started by: ahamed
1 Replies

7. Shell Programming and Scripting

bash adding multiple names

Hi all, I make this bash script in which there is one option to add a name in txt file. So when I run the script it ask me for the name. When i enter the name, that name gets added in a txt file. If i add the same name again, the message comes up, the name is already there My question is..... (2 Replies)
Discussion started by: Learnerabc
2 Replies

8. Shell Programming and Scripting

Adding Multiple Files via Columns

I have a number of files with multiple rows that I need to add together. Let say I have 10 files: Each file has a great number of rows and columns. I need to add these files together the following way. In other words, If, for example, file A occupies Columns 1 to 19, I want to add file B... (7 Replies)
Discussion started by: Ernst
7 Replies

9. Shell Programming and Scripting

adding a column of unique string to multiple files

Hi, I need to add a column of unique string to individual csv file. my individual csv file looks like this and each file has variable row length: 178.52,39.4,train,0.003355544375334351,39.15752753933254,0.4895933968953914... (7 Replies)
Discussion started by: ida1215
7 Replies

10. UNIX for Dummies Questions & Answers

Move Multiple Files adding date timestamp before file type

There are files in a directory and I have to move multiple files adding datetimestamp before the file type. /Data/ abc.csv def.csv ghi.csv I have to move this files to archive directory adding datatimestamp before .csv /archive/ abc_YYYYMMDDHHMMSS.csv def_YYYYMMDDHHMMSS.csv... (7 Replies)
Discussion started by: eskay
7 Replies
vz.conf(5)							    Containers								vz.conf(5)

NAME
vz.conf - global OpenVZ configuration file SYNOPSIS
/etc/vz/vz.conf DESCRIPTION
This is the global configuration file for OpenVZ. It consists of lines in the form PARAMETER="value" All parameter names and values are case-sensitive. Quotes surrounding value are required if value contains spaces, and are optional other- wise. Extra spaces are not allowed. All unrecognized lines will be ignored. Global parameters VIRTUOZZO=yes|no This parameter can be set to yes or no, and used by the vz init script. In case it is not set to yes, nothing will be done to boot up OpenVZ on this node. LOCKDIR=directory Set the directory to put lock files to. VE0CPUUNITS=number Value of this parameter sets cpuunits for CT0 (host system). LOGGING=yes|no Enables or disables logging. This parameter can be set to yes or no, default is yes. LOGFILE=file Set location of log file, default is /var/log/vzctl.log. LOG_LEVEL=number Set the logging level for the log file (does not affect console output). The greater the number is, the more information will be logged to the LOGFILE. Default is 0, which means to log normal messages and errors. If set to -1, only errors will be logged. VERBOSE=number Set the logging level for console/terminal output (does not affect log file). Default is 0, which means to log normal messages and errors. Increasing the number makes vzctl(8) more verbose. MODULES_DISABLED=yes|no If the value of this parameter is set to yes, no attempt to load kernel modules is made by the vz initscript. This is helpful on systems which have OpenVZ-specific features compiled into the kernel (i. e. not as modules). IPTABLES_MODULES="module module ..." List of iptables kernel modules to be loaded by vz initscript before loading OpenVZ modules (which is required for iptables to work inside containers). If not set, value of IPTABLES is used. VZFASTBOOT=yes|no If the value of this parameter is set to yes, vz initscript called with start argument will start the containers with uncleanly shutdown quota state without performing quota reinitialization (which is usually a time-consuming process). After all the containers are started, the initscript when restarts those containers with unclean quota in a normal way (to recalculate/fix quotas). TEMPLATE=directory Value of this parameter is a directory in which all container template data are stored. Network interface parameters VE_ROUTE_SRC_DEV="device" This parameter specifies the network device name which IP address will be used as the source IP. This is helpful in case more than one network interface is configured on HN and there is a need to specify the source IP address. Default is the first device in the network device list. NEIGHBOUR_DEVS="detect" Controls on which interfaces to add/remove ARP records for a container IP, also which interfaces to use to query/announce ARP. If this is set to detect, the right network interface (the one which is in the same subnet as a CT IP) will be chosen automatically. Any other value restores old (as of vzctl 3.0.19 or older) behavior, when all the possible interfaces were used. ERROR_ON_ARPFAIL=yes|no In case the value of this parameter is set to yes, vzctl will fail to start a container if there is another host with the same IP in the subnet. The value of no makes vzctl to only print the warning. Defaults for containers Below parameters are defaults for containers, and can be overwritten by parameters in ctid.conf(5) per-container configuration file. DISK_QUOTA=yes|no In case the value of this parameter is set to no, all disk quota operations are disabled. VE_ROOT=directory Value of this parameter is the directory which serves as container root mount point. Value must contain literal string $VEID, which will be substituted with the actual numeric CT ID. VE_PRIVATE=directory Value of this parameter is the directory in which all the files and directories specific to that container are stored. Value must contain literal string $VEID, which will be substituted with the actual numeric CT ID. CONFIGFILE=name Default configuration file for create action, corresponds to --config option. IPTABLES="module module ..." List of iptables modules to be enabled for containers, corresponds to --iptables option. Most of the other parameters that appear in per-container configuration files ctid.conf(5) can be also set here. Still, it is recommended to keep TEMPLATE, VE_PRIVATE and VE_ROOT in this configuration file, and all the other container related parameters in per-container con- figuration files. SEE ALSO
vzctl(8), ctid.conf(5). LICENSE
Copyright (C) 2000-2011, Parallels, Inc. Licensed under GNU GPL. OpenVZ 28 Jun 2011 vz.conf(5)
All times are GMT -4. The time now is 06:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy