Linux Netfilter discussions
 help / color / mirror / Atom feed
* problem with samba
@ 2003-07-26 20:07 Sohail Ahmed Siddiqui
  2003-07-26 20:19 ` David Busby
  2003-07-27  5:05 ` Alistair Tonner
  0 siblings, 2 replies; 3+ messages in thread
From: Sohail Ahmed Siddiqui @ 2003-07-26 20:07 UTC (permalink / raw)
  To: netfilter

Hi all,
i am new to iptables and i have a problem, i will be very greatful i fsome
one helps me out.
at my place i have a lan with 192.168.0.0/24 and in the building we have
134.91.239.0. i have managed to firewall my local net and access the
internet with iptables but i want to share some files via samba. but my
samba connection is not going out. i am using

iptables -A FORWARD -j lan -p tcp --dport 137:139
iptables -A FORWARD -j lan -p udp --dport 137:139

but this some how doesnt seem to work.
i have searched the internet but some how i didnt find any thing which can
solve my problem. any help is welcome
regards
Sohail Ahmed Siddiqui



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: problem with samba
  2003-07-26 20:07 problem with samba Sohail Ahmed Siddiqui
@ 2003-07-26 20:19 ` David Busby
  2003-07-27  5:05 ` Alistair Tonner
  1 sibling, 0 replies; 3+ messages in thread
From: David Busby @ 2003-07-26 20:19 UTC (permalink / raw)
  To: Sohail Ahmed Siddiqui, netfilter

You might want to add 135, IIRC.
you can enable iptables LOG as last rule to see what packets get droped to
find the culprit.
Or maybe iptraf
/B
----- Original Message ----- 
From: "Sohail Ahmed Siddiqui" <sohail@uni-duisburg.de>
To: <netfilter@lists.netfilter.org>
Sent: Saturday, July 26, 2003 13:07
Subject: problem with samba


> Hi all,
> i am new to iptables and i have a problem, i will be very greatful i fsome
> one helps me out.
> at my place i have a lan with 192.168.0.0/24 and in the building we have
> 134.91.239.0. i have managed to firewall my local net and access the
> internet with iptables but i want to share some files via samba. but my
> samba connection is not going out. i am using
>
> iptables -A FORWARD -j lan -p tcp --dport 137:139
> iptables -A FORWARD -j lan -p udp --dport 137:139
>
> but this some how doesnt seem to work.
> i have searched the internet but some how i didnt find any thing which can
> solve my problem. any help is welcome
> regards
> Sohail Ahmed Siddiqui
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: problem with samba
  2003-07-26 20:07 problem with samba Sohail Ahmed Siddiqui
  2003-07-26 20:19 ` David Busby
@ 2003-07-27  5:05 ` Alistair Tonner
  1 sibling, 0 replies; 3+ messages in thread
From: Alistair Tonner @ 2003-07-27  5:05 UTC (permalink / raw)
  To: Sohail Ahmed Siddiqui, netfilter

On July 26, 2003 04:07 pm, Sohail Ahmed Siddiqui wrote:
> Hi all,
> i am new to iptables and i have a problem, i will be very greatful i fsome
> one helps me out.
> at my place i have a lan with 192.168.0.0/24 and in the building we have
> 134.91.239.0. i have managed to firewall my local net and access the
> internet with iptables but i want to share some files via samba. but my
> samba connection is not going out. i am using
>
> iptables -A FORWARD -j lan -p tcp --dport 137:139
> iptables -A FORWARD -j lan -p udp --dport 137:139

	You would have to have appropriate ACCEPT statements in the
	lan table --- cant tell why its not working since you haven't listed
	the lan table.

>
> but this some how doesnt seem to work.
> i have searched the internet but some how i didnt find any thing which can
> solve my problem. any help is welcome
> regards
> Sohail Ahmed Siddiqui

-- 

	Alistair Tonner
	nerdnet.ca
	Senior Systems Analyst - RSS
	
     Any sufficiently advanced technology will have the appearance of magic.
	Lets get magical!


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-07-27  5:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-26 20:07 problem with samba Sohail Ahmed Siddiqui
2003-07-26 20:19 ` David Busby
2003-07-27  5:05 ` Alistair Tonner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox