Click to See Complete Forum and Search --> : Samba Related


FyberOptyx
03-31-2002, 11:48 PM
I have just installed samba for the first time and I have got a question regarding my firewall logs.
I keep getting a denied connection coming in from eth0 (outside). Source is my.ip.add.ress
Destination is my.ip.add.255 prot=udp sport=138 dport=138.

Tried looking for info but as I don't know what to look for it it difficult.

Any help appreciated.

mychl
04-01-2002, 11:57 AM
I have this in my iptables rules, just to make sure that my internal PC's can use samba. Anything coming in from the outside is of course blocked.

iptables -A INPUT -p tcp -s $INTRA --destination-port 139 -j ACCEPT
iptables -A INPUT -p udp -s $INTRA --destination-port 139 -j ACCEPT

INTRA is my internal network...

Post your smb.conf file so we can have a look too.

I really don't think you need to have your external ip address in your smb.conf file. If you do, try changing it to your internal NIC...192.168.1.1 or whatever you have.

Just some thoughts..

Good luck