[Samba] iptables-rules for Samba-Server

Stefan G. Weichinger monitor at oops.co.at
Tue Oct 26 19:18:58 GMT 2004


Hello,

I know this is a bit OT ...

I would like to just open the necessary ports for Samba on a
fileserver for a client.

I always get problems with the broadcasts on 127.0.0.1 as it seems.

Does anyone have some well-proved iptables-commands to only allow
samba-related traffic in and out of a samba-server?

(I know how to control that with options like "hosts allow" and such,
I would like to ADD iptables ...)

Thanks,
Stefan



More information about the samba mailing list