LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-26-2003, 09:32 AM   #16
Medievalist
Member
 
Registered: Aug 2003
Distribution: Dead Rat
Posts: 191

Rep: Reputation: 55

If the firewall is the usual Red Hat iptables stuff created by lokkit, you can add something like this to the file /etc/sysconfig/iptables to let samba through:

# samba and the swat web-based samba configurator
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 139 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 137:138 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp --sport 137:138 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 901 -j ACCEPT

You might be better off with a stronger firewalling system like Shorewall (or an external firewall, that can protect all your systems) though.
 
Old 09-26-2003, 10:13 AM   #17
Panzerfrost
Member
 
Registered: Aug 2003
Distribution: RedHat 9, Mandrake 9.1, Slackware 9.1
Posts: 81

Original Poster
Rep: Reputation: 15
Well, I simply disabled Lokkit and it worked. Thing is I don't really need a firewall on linux (I think), because it connects through the internet using a WindowsXP machine, which is already firewalled with ZoneAlarm.
 
Old 09-26-2003, 12:34 PM   #18
Medievalist
Member
 
Registered: Aug 2003
Distribution: Dead Rat
Posts: 191

Rep: Reputation: 55
ZoneAlarm is good software; you should be OK as long as your Windows box doesn't get any Email worms. Even if you do get swen (or whatever) ZoneAlarm should pick up the outgoing SMTP and warn you.

Glad it worked out!
 
Old 09-26-2003, 05:38 PM   #19
Panzerfrost
Member
 
Registered: Aug 2003
Distribution: RedHat 9, Mandrake 9.1, Slackware 9.1
Posts: 81

Original Poster
Rep: Reputation: 15
Hehe well it's good to know at least one software I use is good

Thanks a lot for your help
 
Old 09-27-2003, 05:16 PM   #20
rajbaxi
Member
 
Registered: Jul 2003
Location: MI
Distribution: redhat,mandrake,debian
Posts: 68

Rep: Reputation: 15
Hey is raviv1 your DHCP Server?
 
Old 09-27-2003, 06:26 PM   #21
Panzerfrost
Member
 
Registered: Aug 2003
Distribution: RedHat 9, Mandrake 9.1, Slackware 9.1
Posts: 81

Original Poster
Rep: Reputation: 15
Ahh I'm not quite sure... I know that my cable modem has a built-in DHCP, so I guess not.
 
Old 09-29-2003, 09:36 PM   #22
rajbaxi
Member
 
Registered: Jul 2003
Location: MI
Distribution: redhat,mandrake,debian
Posts: 68

Rep: Reputation: 15
You can also get a list of shared resources by typing the following:

smbclient -U username -L machine

instead of smbclinet -U% -L machine
 
Old 03-11-2011, 02:15 AM   #23
teen
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Rep: Reputation: 0
I am new to this forums........
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic Samba help/ideas/suggestions please? bigjohn Linux - Software 13 01-16-2006 03:28 AM
samba share ideas jonfa Linux - Software 2 06-21-2005 08:50 PM
[Question]: US Robotics modem - 56K V.92 Compatibility/Ideas haiku. Linux - Hardware 4 11-12-2004 02:09 PM
Wireless Question ..Any ideas? bruce1271 Linux - Wireless Networking 3 05-12-2003 10:14 PM
Can't read html docs from Samba share...ideas? _TK_ Linux - Newbie 6 02-14-2001 09:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration