I have a need to allow NetBIOS/Network Neighborhood browsing across a
firewall between one internal LAN segment (192.168.0.0/23) to another
(192.168.10.0/24).  The two networks are on interfaces eth2 and eth3,
respectively, off of the corporate firewall.

The two segments of the LAN were seperated due to broadcast flooding
during video streaming development work by a dev team.

I have the majority of the instructions down, I *think*:

   iptables -t nat -I PREROUTING 1 -i eth2 -p tcp -d 192.168.0.1 --dport
139 -j DNAT --to 192.168.10.1:139
   iptables -I FORWARD 6 -i eth2 -o eth3 -p tcp -d 192.168.10.1 --dport
139 -j ACCEPT

   iptables -t nat -I PREROUTING 1 -i eth3 -p tcp -d 192.168.10.1
--dport 139 -j DNAT --to 192.168.0.1:139
   iptables -I FORWARD 6 -i eth2 -o eth2 -p tcp -d 192.168.0.1 --dport
139 -j ACCEPT

Not sure if this should be Destination NAT or Source NAT.  I would like
advice and/or corrections from anyone out there that has a better
knowledge of this, first.

Thanks in advance.


Reply via email to