LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-29-2002, 12:20 PM   #1
kevin
LQ Newbie
 
Registered: Feb 2001
Posts: 4

Rep: Reputation: 0
Samba and iptables


I'm having some trouble seeing my Linux machine from a Win32 box. I've just implemented a firewall using iptables and I think that I've enabled the samba network ports properly, but I guess I've missed something.

I can't telnet to the machine name, but I can to the IP Address, and in the Windows Explorer, the machine does not turn up in Network Neighbourhood.

I have the following entries in my iptables script:

(10.0.0.1 is the windows box)

iptables -A INPUT -s 10.0.0.1 -p tcl --dport 8192
iptables -A INPUT -s 10.0.0.1 -p tcp --dport 139 -j ACCEPT
iptables -A INPUT -s 10.0.0.1 -p udp --dport 137

I've also let the name servers in:

iptables -A INPUT -s 158.222.5.5 -p udp --sport 53

Is there something else that I've missed, or have I implemented something incorrectly perhaps?

Thanks for any help,
Kevin.
 
Old 01-29-2002, 12:21 PM   #2
kevin
LQ Newbie
 
Registered: Feb 2001
Posts: 4

Original Poster
Rep: Reputation: 0
Addition

Sorry...

I should proof-read more carefully, all of the above entries should have -j ACCEPT on them. That was a mistake in the email, not the iptable script.

Kevin.
 
  


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
Iptables and Samba MrBiggZ Linux - Security 1 10-08-2005 02:20 PM
iptables and samba shankariyer Linux - Security 1 02-18-2004 01:26 AM
Samba and iptables TheRealDeal Linux - Networking 3 09-22-2003 10:13 AM
using iptables to allow samba robertmarkbram Linux - Networking 3 08-17-2003 03:08 AM
iptables and Samba frkstein Linux - Networking 2 09-19-2002 09:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:47 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