Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 2008 11:20:08 +0200
From:      =?ISO-8859-2?Q?Nejc_=A9koberne?= <nejc@skoberne.net>
To:        freebsd-pf@freebsd.org
Subject:   Proxying broadcasts?
Message-ID:  <48B27948.5040101@skoberne.net>

next in thread | raw e-mail | index | archive | help
Hello,

I have a central FreeBSD 7.0 router running pf with SERVERS and USERS1 and USERS2 networks
attached to it.

I also have some Sybase SQL servers on SERVERS network, which use broadcasts to announce
themselves to the network. Before, when there were no separate segments, everything worked fine
of course.

My question: is there any way to "proxy" (forward) broadcast requests from USERS1 to the
SERVERS network? So the users in USERS* networks could find Sybase SQL servers via broadcasts?

I tried something like this in my test environment (tried to NAT broadcasted DNS requests,
just for trying if pf could do it):

nat on $ServersInterface from 192.168.3.100 to 192.168.1.255 -> 192.168.1.1
rdr pass on $UsersInterface proto udp from 192.168.3.100 to 192.168.3.255 port 53 -> 192.168.1.255

(3.100 is a client from USERS1, 1.1 is the router)

But this doesn't seem to be working (no translated packets on the interfaces). I guess it's
impossible?

Thanks,
Nejc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48B27948.5040101>