I recently adeeded an another ethernet to my gateway so i have pc 192.1681.4 where samba is that has to comunicate to pc 192.168.2.2 where windows is.That's the iptables: Code: # LAN eth1 LAN eth2 $IPT -A FORWARD -j ACCEPT -s 192.168.2.0/24 -d 192.168.1.0/24 $IPT -A FORWARD -j ACCEPT -s 192.168.1.0/24 -d 192.168.2.0/24 $IPT -A FORWARD -j ACCEPT -s 192.168.2.0/24 -d 192.168.1.255/32 $IPT -A FORWARD -j ACCEPT -s 192.168.1.0/24 -d 192.168.2.255/32 Single firewalls on both pc allow both networks , network linux 192.168.1.0 pings windows 192.168.2.0 but not the opposite way in fact samba is not happening .... I don't have to SNAT networks' source ips do i ? Called name not present ???? nmbd logs:
Sure i did , and machines managed to ping each other but still no samba connections also broadcasts pings are allowed , i think because server and client are on 2 different networks.From the linux machine i managed to mount the win share but not the opposite way .......