Quote:
Originally Posted by nikmit
No. Do a 'iptables -L -v -n'
|
Chain INPUT (policy DROP 513 packets, 52341 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT tcp -- eth0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:25565
0 0 ACCEPT udp -- eth0 * 0.0.0.0/0 0.0.0.0/0 udp dpt:25565
0 0 ACCEPT tcp -- eth0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:139
0 0 ACCEPT udp -- eth0 * 0.0.0.0/0 0.0.0.0/0 udp dpt:139
0 0 ACCEPT 0 -- eth0 * 192.168.1.0/24 192.168.0.0/24
2347 703K ACCEPT 0 -- lo * 0.0.0.0/0 0.0.0.0/0
833 104K ACCEPT 0 -- mueb * 192.168.0.0/24 0.0.0.0/0
0 0 drop-and-log-it 0 -- eth0 * 192.168.0.0/24 0.0.0.0/0
1438 1120K ACCEPT 0 -- eth0 * 0.0.0.0/0 192.168.1.2
0 0 ACCEPT 0 -- eth0 * 0.0.0.0/0 192.168.1.2 state RELATED,ESTABLISHED
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
833K 229M ACCEPT 0 -- eth0 mueb 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:5199
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spt:5198
0 0 ACCEPT udp -- eth0 mueb 0.0.0.0/0 0.0.0.0/0 udp dpt:25565
0 0 ACCEPT tcp -- eth0 mueb 0.0.0.0/0 0.0.0.0/0 tcp dpt:25565
0 0 ACCEPT 0 -- eth0 mueb 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
762K 275M ACCEPT 0 -- mueb eth0 0.0.0.0/0 0.0.0.0/0
9438 2330K ACCEPT 0 -- mueb mueb 0.0.0.0/0 0.0.0.0/0
0 0 drop-and-log-it 0 -- * * 0.0.0.0/0 0.0.0.0/0
Chain OUTPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT 0 -- * eth0 192.168.0.0/24 192.168.1.0/24
0 0 ACCEPT tcp -- * eth0 0.0.0.0/0 0.0.0.0/0 tcp dpt:25565
0 0 ACCEPT udp -- * eth0 0.0.0.0/0 0.0.0.0/0 udp dpt:25565
0 0 ACCEPT tcp -- * eth0 0.0.0.0/0 0.0.0.0/0 tcp dpt:139
0 0 ACCEPT udp -- * eth0 0.0.0.0/0 0.0.0.0/0 udp dpt:139
2427 710K ACCEPT 0 -- * lo 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT 0 -- * mueb 192.168.1.2 192.168.0.0/24
162 94368 ACCEPT 0 -- * mueb 192.168.0.0/24 192.168.0.0/24
0 0 drop-and-log-it 0 -- * eth0 0.0.0.0/0 192.168.0.0/24
1533 191K ACCEPT 0 -- * eth0 192.168.1.2 0.0.0.0/0
0 0 drop-and-log-it 0 -- * * 0.0.0.0/0 0.0.0.0/0
Chain drop-and-log-it (4 references)
pkts bytes target prot opt in out source destination
0 0 LOG 0 -- * * 0.0.0.0/0 0.0.0.0/0 LOG flags 0 level 6
0 0 REJECT 0 -- * * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
Not sure if I follow that. I see "ACCEPT 0 -- * mueb 192.168.1.2 192.168.0.0/24" but 1.2 is on eth0?