Networking Forums

Networking Forums > Computer Networking > Linux Networking > configuring suse firewall to block outgoing SMB?

Reply
Thread Tools Display Modes

configuring suse firewall to block outgoing SMB?

 
 
David Brower
Guest
Posts: n/a

 
      04-17-2004, 03:17 AM
Sometimes I VPN to work, and my windows machines are hardwired to talk to
the WINS servers at work. When not connected via VPN, they still
try to send updates to the company WINS server, and these are leaking out
my SuSEFirewall2 machine.

I'd like to configure the firewall to block all outgoing packets on the public
interface directed to ports 135:139, without blocking traffic from the
firewall to the internal interface -- it has its own SMB exports and
needs to publish its own data locally.

Any ideas how to do this? I am an iptables n00b.

thanks,

-dB










 
Reply With Quote
 
 
 
 
NeoSadist
Guest
Posts: n/a

 
      04-17-2004, 05:01 AM
David Brower wrote:

> Sometimes I VPN to work, and my windows machines are hardwired to talk to
> the WINS servers at work. When not connected via VPN, they still
> try to send updates to the company WINS server, and these are leaking out
> my SuSEFirewall2 machine.
>
> I'd like to configure the firewall to block all outgoing packets on the
> public interface directed to ports 135:139, without blocking traffic from
> the firewall to the internal interface -- it has its own SMB exports and
> needs to publish its own data locally.
>
> Any ideas how to do this? I am an iptables n00b.
>
> thanks,
>
> -dB


To block OUTGOING SMB? Two ways:
1) Uninstall Samba (this would fix the problem the easiest way possible)
2) as root: "iptables -A OUTPUT -p tcp --sport 137:139 -j DROP"
"iptables -A OUTPUT -p udp --sport 137:139 -j DROP"

--
Science is what happens when preconception meets verification.

 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RRAS NAT Block Outgoing Port? Mio Windows Networking 1 08-15-2008 07:23 PM
how to block outgoing UPNP? Johan Kullstam Linux Networking 6 01-18-2008 06:21 AM
block outgoing packets with iptables Peter Lowrie Linux Networking 2 05-05-2006 03:31 AM
Block all NIC outgoing traffic in Windows XP SP2?? Yannick Drolet Windows Networking 1 10-23-2005 10:28 PM
WRT54GS block most outgoing ports.. Geir Holmavatn Wireless Internet 1 10-02-2005 09:28 PM



1 2 3 4 5 6 7 8 9 10 11