iptables is not working
- From: pandi <k.pandi.k@xxxxxxxxx>
- Date: 28 May 2007 01:38:19 -0700
Hi everyone..
I am using Redhat linux 9.
I want to use iptables to monitor the bandwidth.
So create the rues and i saved it ..but no response is there...
---->iptables -N vlan100
---->iptables -N vlan120
---->iptables -A FORWARD -d 172.16.100.0/24 -j vlan100
---->iptables -A FORWARD -s 172.16.120.0/24 -j vlan120
---->service iptables save
Saving current rules to /etc/sysconfig/iptables: [OK]
---> service iptables status
Table: filter
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
vlan100 all -- anywhere 172.16.140.0/24
vlan120 all -- anywhere 172.16.2.0/24
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain vlan100 (1 references)
target prot opt source destination
Chain vlan120 (1 references)
target prot opt source destination
--->iptables -L -v -n
Chain INPUT (policy ACCEPT 5657K packets, 3766M bytes)
pkts bytes target prot opt in out source
destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source
destination
0 0 vlan100 all -- * * 0.0.0.0/0
172.16.140.0/24
0 0 vlan120 all -- * * 0.0.0.0/0
172.16.2.0/24
Chain OUTPUT (policy ACCEPT 6502K packets, 4150M bytes)
pkts bytes target prot opt in out source
destination
Chain vlan100 (1 references)
pkts bytes target prot opt in out source
destination
Chain vlan120 (1 references)
pkts bytes target prot opt in out source
destination
----so nothing has come in the output. What will be the reason. I dont
know whether iptables has some problem or me.
Tell me the procedure wise to correct this problem
Thanks in advance
.
- Follow-Ups:
- Re: iptables is not working
- From: Shadow_7
- Re: iptables is not working
- Prev by Date: Re: How safe are FTP servers?
- Next by Date: Good secure file transfer, was Re: How safe are FTP servers?
- Previous by thread: Looking for Linux Security experts to work in India
- Next by thread: Re: iptables is not working
- Index(es):
Relevant Pages
|