Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Chris Brenton <cbrenton@chrisbrenton.org>
To: bassam@palettemm.com
Cc: netfilter <netfilter@lists.netfilter.org>
Subject: Re: How to DNAT the only NetBios broadcast traffic (03:00:00:00:00:01)??
Date: Mon, 14 Jun 2004 14:25:39 -0400	[thread overview]
Message-ID: <1087237538.2010.7.camel@grendel> (raw)
In-Reply-To: <001b01c451c5$3c734150$1d01a8c0@palettemm.com>

On Mon, 2004-06-14 at 00:08, Bassam A. Al-Khaffaf wrote:
>
> In fact I got stuck on how to forward ONLY and ONLY the NETBIOS
> broadcast traffic (03:00:00:00:00:01) from any machine on LAN2 to the
> domain controller on LAN1. Take note that the NETBIOS traffic is
> carried on IEEE 802.3 Ethernet.

I think you are confused. _NetBEUI_ transmits to 3:0:0:0:0:01, not
NetBIOS/IP. These are NetBEUI _multicasts_, not broadcasts.

If you are actually using NetBEUI your options are:
1) bridge the traffic
2) Upgrade to NetBIOS/IP or SMB/IP

If you are actually using NetBIOS/IP already, your options are:
1) setup a WINS server
2) create lmhosts entries on the client

> I wrote the following iptable rule, but here all the traffic will be
> directed from LAN2 to the domain controller on LAN1
> 
> Iptables –t nat –A PREROUTING –I eth1 –j DNAT –to-destination
> 192.168.1.231

If you are using NetBEUI, your problem is not iptables. Your problem is
you are using a non-routable protocol. As mentioned above, you need to
use a bridge or switch over to something IP based.

HTH,
Chris




      parent reply	other threads:[~2004-06-14 18:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-14  4:08 How to DNAT the only NetBios broadcast traffic (03:00:00:00:00:01)?? Bassam A. Al-Khaffaf
2004-06-14 14:45 ` John A. Sullivan III
2004-06-14 18:25 ` Chris Brenton [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1087237538.2010.7.camel@grendel \
    --to=cbrenton@chrisbrenton.org \
    --cc=bassam@palettemm.com \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox