Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

OpenBSD router +netbios forwarding

Posted on 2003-11-27
8
Medium Priority
?
1,617 Views
Last Modified: 2013-12-09
I have 2 subnets

10.69.69.0/24
192.168.0.0/24

the OBSD box is acting as a router between the 2.
But it doesn't forward netbios over tcp/ip broadcasts to opposite subnets. Its not supposed to by default. But this is what I need.
I've tried using pf to rdr udp ports 137 138 139 over the subnets.
That didn't work :)

Any ideas? This is easy to do with cisco routers so it shouldn't be too hard with obsd.

here are some of my PF rule attempts


rdr on hme0 proto udp from 192.168.0.0/24 to any port { 137, 138, 139 } -> 10.69.69.255
rdr on hme1 proto udp from 10.69.69.0/24 to any port { 137, 138, 139 } -> 192.168.0.255

#rdr on hme0 proto udp from any to any -> 10.69.69.255      
#rdr on hme1 proto udp from any to any -> 192.168.0.255
0
Comment
Question by:deadlast
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
8 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 9832336
NO.
You need shared WINS server like samba nmbd or windows PDC, and select it on all workstations.
Starting from Windows2000 it uses port 445 and maybe 80+443 for NetBIOS too, and you forgot nameservice - port 135... check out netstat -na just in case.
Easy if you have got DHCP, or somebody should attend all workstations ( and maybe switch to DHCP, so you get central workstations configuration in one place )
0
 

Author Comment

by:deadlast
ID: 9832467
no I don't need any of that. I did this yesterday with a cisco router no prob on another section of my network.
All I need forwarded is;
UDP  137  NETBIOS Name Service
UDP  138  NETBIOS Datagram Service
UDP  139  NETBIOS Session Service

This is netbios over tcp/ip with windows 2000.

btw
UDP  135  DCE endpoint resolution - not nameservice
Thanks though :)
0
 
LVL 62

Expert Comment

by:gheist
ID: 9837316
135 is important anyway...
check out www.sysinternals.com to see who binds where and why.
WINS is preferred way, or bridge for IPX or NetBEUI(not acttually routing anymore)
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:deadlast
ID: 9849883
with these 2 things on in sysctl.conf broadcast routing should be taking place.

net.inet.ip.forwarding=1 -- allow routing
net.inet.ip.directed-broadcast=1 -- allow broadcast routing

its not.
0
 
LVL 62

Expert Comment

by:gheist
ID: 9856156
and second parameter must be set on all involved machines...
0
 
LVL 62

Expert Comment

by:gheist
ID: 10128886
No problem. I hope asker found answer somewhere else on the web
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 10215083
PAQed, with points refunded (500)

Computer101
E-E Admin
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question