Dear Mephisto,
Hello,
Show me the output of these commands one by one !!
# iptables -L -n --line
# iptables -t nat -L -n --line
# iptables -t mangle -L -n --line
# iptables -t filter -L -n --line
Best Regards.
Hi,
I have a bunch of rules in iptables to calculate network traffic and these are working fine for most IPs on the network (192.168.0.106, 192.168.0.107 etc).
One however is not working, this is 192.168.0.205. I have set this up exactly the same as all the other rules. The only difference I can see is that I have an entry in the route table with 192.168.0.205.
Could this be stopping the rules in iptables counting traffic for this ip?Code:Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 210.55.140.0 * 255.255.255.0 U 0 0 0 eth1 192.168.1.0 192.168.0.205 255.255.255.0 UG 0 0 0 eth0 192.168.0.0 * 255.255.255.0 U 0 0 0 eth0 default 210.55.140.129 0.0.0.0 UG 0 0 0 eth1
Any help would be appreciated.
Thanks[/code]
Dear Mephisto,
Hello,
Show me the output of these commands one by one !!
# iptables -L -n --line
# iptables -t nat -L -n --line
# iptables -t mangle -L -n --line
# iptables -t filter -L -n --line
Best Regards.
Färrükh Ähmëd
Thanks for your reply. Large output so have put into text files.
iptables -L -n --line
iptables -t nat -L -n --line
iptables -t mangle -L -n --line
iptables -t filter -L -n --line
Thanks again
Dear Mephisto,
Hello,
It should work as i had seen your given output !!
andChain ipac~i (1 references)
num target prot opt source destination
27 all -- 192.168.0.1 192.168.0.205
Best Regards.Chain traffic (6 references)
num target prot opt source destination
49 all -- 192.168.0.205 0.0.0.0/0
50 all -- 0.0.0.0/0 192.168.0.205
Färrükh Ähmëd
Bookmarks