Ho una debian squeeze con samba funzionante sopra, e IPTables.
Codice: Seleziona tutto
beta-house ~ # ipt
Chain INPUT (policy ACCEPT 24 packets, 3175 bytes)
num pkts bytes target prot opt in out source destination
1 0 0 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
2 1363 107K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
11 0 0 ACCEPT udp -- * * 192.168.1.0/24 192.168.1.101 udp dpt:137
12 0 0 ACCEPT udp -- * * 192.168.1.0/24 192.168.1.101 udp dpt:138
13 1 64 ACCEPT tcp -- * * 192.168.1.0/24 192.168.1.101 state NEW tcp dpt:139
14 6 384 ACCEPT tcp -- * * 192.168.1.0/24 192.168.1.101 state NEW tcp dpt:445
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
num pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 52 packets, 5396 bytes)
num pkts bytes target prot opt in out source destination
1 0 0 ACCEPT all -- * lo 0.0.0.0/0 0.0.0.0/0
Come mai?
