samba trouble

Andy Green fedora at warmcat.com
Mon Oct 27 21:08:16 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 27 October 2003 16:44, Benjamin Kosnik wrote:

> In the meantime, can somebody post the magic iptables bits?

I added this to my /etc/rc.local......

iptables -I RH-Firewall-1-INPUT -p tcp -s 192.168.0/24 --destination-port 
137:139 -j ACCEPT

The bit after -s says to only let in people who are on 192.168.0.*, so if 
somehow people from the internet manage to bypass my firewall they still 
won't be able to see my shares (until they pervert a local machine, ho hum).

Samba really should be on that firewall app, in fact its kind of crap that you 
can't give it arbitrary ports, didn't you used to be able to?

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/nYlAjKeDCxMJCTIRAntZAJ90d0BzKredSAdPkjKOOy8DAiKhkwCdEYtK
5cvSD+XZx4Wszx94UIWBG6A=
=WEZt
-----END PGP SIGNATURE-----





More information about the test mailing list