LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-10-2008, 04:43 AM   #1
M&M
LQ Newbie
 
Registered: Dec 2004
Location: Portugal
Distribution: Suse 9.2
Posts: 13

Rep: Reputation: 0
iptables samba client


Hi!
I have a samba client machine which I also need to do NAT, with iptables and dnsmasq.
I've found some instructions to iptables rules for a samba server but not for a client.

The problem is that when i turn nat on, I can't get smbtree to list any shares, only with iptables fully flushed. Anyone knows why is this?
 
Old 06-10-2008, 11:17 AM   #2
theriddle
Member
 
Registered: Jun 2007
Distribution: Gentoo
Posts: 172

Rep: Reputation: 30
Do you have OUTPUT set to ACCEPT? If not, that may be the problem.
 
Old 07-15-2008, 05:39 PM   #3
M&M
LQ Newbie
 
Registered: Dec 2004
Location: Portugal
Distribution: Suse 9.2
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by theriddle View Post
Do you have OUTPUT set to ACCEPT? If not, that may be the problem.
iptables -P OUTPUT ACCEPT

This?
At least this didn't work, same results.
Best regards
 
Old 07-16-2008, 12:31 AM   #4
theriddle
Member
 
Registered: Jun 2007
Distribution: Gentoo
Posts: 172

Rep: Reputation: 30
Okay. Try, before flushing,
Code:
iptables -L
. What does it output?
 
  


Reply



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
How2 uninstall samba client or the samba pkg holeg Linux - Newbie 1 07-14-2006 10:47 AM
How can I connect samba client from samba server wampire Linux - Networking 2 02-13-2006 10:38 AM
samba client freezes when samba server goes down timcharper Linux - Networking 1 08-22-2005 10:29 PM
Samba: W2K client OK, XP client hangs Tim Green Linux - Networking 4 08-10-2004 01:55 AM
Mandrake (Samba) Client Can't Connect To Samba Buick Linux - Networking 1 01-21-2004 01:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:33 PM.

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