Samba connection

Discussion in 'Server Operation' started by gabrix, Nov 16, 2006.

  1. gabrix

    gabrix New Member

    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:
     
    Last edited: Nov 16, 2006
  2. falko

    falko Super Moderator ISPConfig Developer

    Are there firewalls on 192.1681.4 and 192.168.2.2? Have you tried to disable them?
     
  3. gabrix

    gabrix New Member

    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 .......
     

Share This Page