Re: [SLUG] configuring a samba server

From: Josh Tiner (jtiner@tampabay.rr.com)
Date: Wed Dec 04 2002 - 00:37:57 EST


Steve:

Here is what I have currently...

/etc/sysconfig/iptables

---
# Firewall configuration written by lokkit
# Manual customization of this file is not recommended.
# Note: ifup-post will punch the current nameservers through the
#       firewall; such entries will *not* be listed here.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:RH-Lokkit-0-50-INPUT - [0:0]
-A INPUT -j RH-Lokkit-0-50-INPUT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 80 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 21 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 22 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -i lo -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 0:1023 --syn -j REJECT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 2049 --syn -j REJECT
-A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 0:1023 -j REJECT
-A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 2049 -j REJECT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 6000:6009 --syn -j REJECT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 7100 --syn -j REJECT
COMMIT
---

-jtiner ----- Original Message ----- From: "steve" <steve@itcom.net> To: <slug@nks.net> Sent: Wednesday, December 04, 2002 12:22 AM Subject: Re: [SLUG] configuring a samba server

> On Tuesday 03 December 2002 23:55, Josh Tiner wrote: > > Hey all, > > > > I recently had to convert one of my favorite linux workstations > > over to windows xp thanks to school projects. I know, I hated to > > do it too, so hold the flames... > > > > At any rate, here is the current situation. I currently have two > > boxes: one is named zeppelin the other is named marlboro. > > Zeppelin is a winxp professional box now. Marlboro is running > > redhat 8.0. > > > > I need marlboro to share some of it's directories to my win box > > so naturally I installed samba. After configuring the > > /etc/samba/smb.conf file and checking it for sanity I restarted > > the smbd service on the linux box. > > > > From my windows machine, I can see my linux box's name, however I > > cannot see any of the shares availible to me. Needless to say, > > that really sucks. I consulted www.samba.org and went through the > > trouble shooting guide. This what they said: > > Sounds like the builtin firewall is blocking one or several ports > 137:udp, 138:udp and 139:tcp (I think). Look in > /etc/sysconfig/iptables. There has to be lines with these ports > saying ACCEPT. (Unless it's not on, but it is by default.) > -- > > Steve > ___________________________________________________________ > HTML in e-mail is not safe. It let's spammers know to spam you more, > and sets you up for online attack through IE 4.x and above. > Using HTML in e-mail promotes it as safe to the uninitiated. > >



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:30:58 EDT