From owner-freebsd-hackers Wed Mar 25 16:28:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA08384 for freebsd-hackers-outgoing; Wed, 25 Mar 1998 16:28:46 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA08374 for ; Wed, 25 Mar 1998 16:28:29 -0800 (PST) (envelope-from tlambert@usr02.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id RAA05302; Wed, 25 Mar 1998 17:28:30 -0700 (MST) Received: from usr02.primenet.com(206.165.6.202) via SMTP by smtp02.primenet.com, id smtpd005280; Wed Mar 25 17:28:24 1998 Received: (from tlambert@localhost) by usr02.primenet.com (8.8.5/8.8.5) id RAA21165; Wed, 25 Mar 1998 17:28:21 -0700 (MST) From: Terry Lambert Message-Id: <199803260028.RAA21165@usr02.primenet.com> Subject: Re: ip forward-protocol udp 170 To: belkovic@albert.osu.cz (Josef Belkovics) Date: Thu, 26 Mar 1998 00:28:21 +0000 (GMT) Cc: tlambert@primenet.com, freebsd-hackers@FreeBSD.ORG In-Reply-To: from "Josef Belkovics" at Mar 26, 98 01:07:30 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > Analogous there is necessity to forward broadcast (?) for wins, browser > > > dhcp etc. services under nt, w95. > > > DHCP forwarding is done by DHCP proxy (see the RFC). > > Is there DHCP proxy under FreeBSD? I use ISCdhcpd beta_5_14 and I think > that it isn't DHCP proxy. Check out the WIDE project (Japan; origin of IIJPPP, if I recall...). I *thought* the most recent ISCdhcpd handled it, too, but I could be mistaken (I read the DHCP RFC's more than I read the code). > I am trying to forward UDP packets from microwave bridge. Management for > bridge runs on novell. Under cisco router I forward UDP packets with the > aid of 'ip forward-protocol udp 170'. My question is how I get this > function under FreeBSD? Now I know about natd (network address > translation). Do you know another solution? > > (Next, I have other microwave bridge. This has ip, management runs on w95. > But implementation of ip stack is strange (bridge certainly isn't able to > fragmentation) and I can't use management program behind router (cisco or > FreeBSD). So I also want to use natd.) You may be looking for the wrong tool. Probably you want to use an "DIVERT" rule in the ipfw, then in the user space program at the other end of the divert, use the BPF to forward the UDP packet. Port 170 UDP is reserved for Network PostScript print servers, btw... so you are doing nasty stuff. 8-(. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message