heloo milist

aku lagi nyoba jaringan kayak gini

        internet----------- eth0 router eth1 (192.168.0.0/24)--------->samba
(192.168.0.10) + squid (192.168.0.11)+client A(192.168.0.100)
                                eth2 (192.168.1.0/24)
                                |
                                |
                                Client B (192.168.1.100)


dari client A bisa login ke samba tapi dari client B blm bisa login. client
B bisa ping ke samba server dan bisa internet lewat squid.
kira2 kesalahannya dimana?

smb.conf sbb:

[global]
        log file = /var/log/samba/log.%m
        smb passwd file = /etc/samba/smbpasswd
        load printers = yes
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        map to guest = bad user
        encrypt passwords = yes
        printer admin = @adm
        dns proxy = no
        server string = Samba Server %v
        printing = cups
        workgroup = Applnet
        os level = 65
        printcap name = cups
        security = user
        max log size = 50
        domain logons= yes
        local master= yes
        domain master= yes
        preferred master= yes
        wins support= yes
        netbios name= jupiter
        

[homes]
   comment = Home Directories
   browseable = no
   writable = yes

iptables

$iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
$iptables -t nat -A POSTROUTING -o eth2 -j MASQUERADE
$iptables -t nat -A PREROUTING -i eth1 -p tcp -s 192.168.1.0/24 --dport 80
-j DNAT --to 192.168.0.11:8080
$iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT
--to-port 8080

$iptables -A FORWARD -i eth2 -o eth1 -p tcp -d 192.168.0.104 --dport 137 -j
ACCEPT
$iptables -A FORWARD -i eth2 -o eth1 -p tcp -d 192.168.0.104 --dport 138 -j
ACCEPT
$iptables -A FORWARD -i eth2 -o eth1 -p tcp -d 192.168.0.104 --dport 139 -j
ACCEPT
$iptables -A FORWARD -i eth2 -o eth1 -p tcp -d 192.168.0.104 --dport 137 -j
ACCEPT
$iptables -A FORWARD -i eth2 -o eth1 -p tcp -d 192.168.0.104 --dport 445 -j
ACCEPT

$iptables -A FORWARD -i eth2 -o eth1 -p udp -d 192.168.0.104 --dport 137 -j
ACCEPT
$iptables -A FORWARD -i eth2 -o eth1 -p udp -d 192.168.0.104 --dport 138 -j
ACCEPT
$iptables -A FORWARD -i eth2 -o eth1 -p udp -d 192.168.0.104 --dport 139 -j
ACCEPT


please help!! prend

thanks before

gunawan






-- 
Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
Arsip dan info di http://linux.or.id/milis.php
FAQ milis http://linux.or.id/faq.php

Kirim email ke