OpenVZ Forum


Home » General » Support » iptables
Re: iptables [message #2361 is a reply to message #2353] Thu, 30 March 2006 17:22 Go to previous messageGo to previous message
eugeniopacheco is currently offline  eugeniopacheco
Messages: 40
Registered: November 2005
Member
Here is all the information you asked, can you please help me?Smile

[root@t248 ~]# service vz stop
Stopping OpenVZ: [ OK ]
[root@t248 ~]# lsmod
Module Size Used by
sch_ingress 2852 1
cls_u32 6308 3
sch_sfq 4480 2
sch_htb 22144 1
simfs 3612 0
vzdquota 38576 0 [permanent]
vzdev 1792 1 vzdquota
thermal 10096 0
processor 10244 1 thermal
fan 2668 0
button 4408 0
battery 7052 0
asus_acpi 8920 0
ac 3084 0
8139too 20160 0
e100 31552 0
mii 3808 2 8139too,e100
usbcore 100356 1
[root@t248 ~]# service vz start
Starting OpenVZ: [ OK ]
lBringing up interface venet0: [ OK ]
Configuring interface venet0: net.ipv4.conf.venet0.send_redirects = 0
[ OK ]
Starting VPS 101: smod
[ OK ]
[root@t248 ~]# lsmod
Module Size Used by
vznetdev 12480 2
vzmon 41664 2 vznetdev
af_packet 16360 0
ipt_length 1504 1
ipt_ttl 1632 1
ipt_tcpmss 1920 1
ipt_TCPMSS 3648 1
iptable_mangle 4256 1
iptable_filter 4096 1
ipt_multiport 1760 1
ipt_limit 1952 1
ipt_tos 1408 1
ipt_REJECT 5568 1
ip_tables 20848 10 ipt_length,ipt_ttl,ipt_tcpmss,ipt_TCPMSS,iptable_mangle,ipta ble_filter,ipt_multiport,ipt_limit,ipt_tos,ipt_REJECT
sch_ingress 2852 1
cls_u32 6308 3
sch_sfq 4480 2
sch_htb 22144 1
simfs 3612 1
vzdquota 38576 1 [permanent]
vzdev 1792 3 vznetdev,vzmon,vzdquota
thermal 10096 0
processor 10244 1 thermal
fan 2668 0
button 4408 0
battery 7052 0
asus_acpi 8920 0
ac 3084 0
8139too 20160 0
e100 31552 0
mii 3808 2 8139too,e100
usbcore 100356 1

[root@t248 ~]# vzctl stop 101
Stopping VPS ...
VPS was stopped
VPS is unmounted
[root@t248 ~]# lsmod
Module Size Used by
vznetdev 12480 3
vzmon 41664 2 vznetdev
af_packet 16360 0
ipt_length 1504 1
ipt_ttl 1632 1
ipt_tcpmss 1920 1
ipt_TCPMSS 3648 1
iptable_mangle 4256 1
iptable_filter 4096 1
ipt_multiport 1760 1
ipt_limit 1952 1
ipt_tos 1408 1
ipt_REJECT 5568 1
ip_tables 20848 10 ipt_length,ipt_ttl,ipt_tcpmss,ipt_TCPMSS,iptable_mangle,ipta ble_filter,ipt_multiport,ipt_limit,ipt_tos,ipt_REJECT
sch_ingress 2852 1
cls_u32 6308 3
sch_sfq 4480 2
sch_htb 22144 1
simfs 3612 1
vzdquota 38576 1 [permanent]
vzdev 1792 3 vznetdev,vzmon,vzdquota
thermal 10096 0
processor 10244 1 thermal
fan 2668 0
button 4408 0
battery 7052 0
asus_acpi 8920 0
ac 3084 0
8139too 20160 0
e100 31552 0
mii 3808 2 8139too,e100
usbcore 100356 1
[root@t248 ~]#

[root@t248 ~]# vzctl start 101
Starting VPS ...
VPS is mounted
Setting CPU units: 13738
File resolv.conf was modified
VPS start in progress...
[root@t248 ~]# lsmod
Module Size Used by
vznetdev 12480 5
vzmon 41664 3 vznetdev
af_packet 16360 0
ipt_length 1504 2
ipt_ttl 1632 2
ipt_tcpmss 1920 2
ipt_TCPMSS 3648 2
iptable_mangle 4256 2
iptable_filter 4096 2
ipt_multiport 1760 2
ipt_limit 1952 2
ipt_tos 1408 2
ipt_REJECT 5568 2
ip_tables 20848 10 ipt_length,ipt_ttl,ipt_tcpmss,ipt_TCPMSS,iptable_mangle,ipta ble_filter,ipt_multiport,ipt_limit,ipt_tos,ipt_REJECT
sch_ingress 2852 1
cls_u32 6308 3
sch_sfq 4480 2
sch_htb 22144 1
simfs 3612 2
vzdquota 38576 2 [permanent]
vzdev 1792 3 vznetdev,vzmon,vzdquota
thermal 10096 0
processor 10244 1 thermal
fan 2668 0
button 4408 0
battery 7052 0
asus_acpi 8920 0
ac 3084 0
8139too 20160 0
e100 31552 0
mii 3808 2 8139too,e100
usbcore 100356 1

[root@t248 ~]# cat /etc/sysconfig/vz
## Global parameters
VIRTUOZZO=yes
LOCKDIR=/vz/lock
VE0CPUUNITS=1000

## Logging parameters
LOGGING=yes
LOGFILE=/var/log/vzctl.log
LOG_LEVEL=0

## Disk quota parameters
DISK_QUOTA=yes
VZFASTBOOT=no

# The name of the device whose ip address will be used as source ip for VE.
# By default automatically assigned.
#VE_ROUTE_SRC_DEV="eth0"

## Template parameters
TEMPLATE=/vz/template

## Defaults for VEs
VE_ROOT=/vz/root/$VEID
VE_PRIVATE=/vz/private/$VEID
CONFIGFILE="vps.basic"
DEF_OSTEMPLATE="fedora-core-4"

## Load vzwdog module
VZWDOG="no"

IPTABLES="ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length"

[root@t248 ~]#
[root@t248 ~]# cat /etc/sysconfig/vz-scripts/101.conf
# This is an example configuration file for so-called "vps.basic" VPS.
# Copyright (C) 2000-2005 SWsoft. All rights reserved.
#
# This file may be distributed under the terms of the Q Public License
# as defined by Trolltech AS of Norway and appearing in the file
# LICENSE.QPL included in the packaging of this file.
#
# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

ONBOOT="yes"

# UBC parameters (in form of barrier:limit)
# Primary parameters
AVNUMPROC="209:209"
NUMPROC="800:800"
NUMTCPSOCK="800:800"
NUMOTHERSOCK="800:800"
VMGUARPAGES="15977:2147483647"
# Secondary parameters
KMEMSIZE="5141514:8855665"
TCPSNDBUF="2437038:5713838"
TCPRCVBUF="2437038:5713838"
OTHERSOCKBUF="1218519:4495319"
DGRAMRCVBUF="1218519:1218519"
OOMGUARPAGES="15977:2147483647"
# Auxiliary parameters
LOCKEDPAGES="836:836"
SHMPAGES="9586:9586"
PRIVVMPAGES="80862:85448"
NUMFILE="6688:6688"
NUMFLOCK="668:734"
NUMPTY="80:80"
NUMSIGINFO="1024:1024"
DCACHESIZE="3740085:3852288"

PHYSPAGES="0:2147483647"
NUMIPTENT="200:200"

# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="20971520:22971520"
DISKINODES="2880189:2968209"
QUOTATIME="0"

# CPU fair sheduler parameter
CPUUNITS="13738"
VE_ROOT="/vz/root/$VEID"
VE_PRIVATE="/vz/private/$VEID"
OSTEMPLATE="debian-3.1-i386-minimal"
ORIGIN_SAMPLE="vps.10"
...

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PPC support?
Next Topic: CentOS 4.3 - rmmod
Goto Forum:
  


Current Time: Mon Aug 12 08:38:56 GMT 2024

Total time taken to generate the page: 0.02783 seconds