From owner-freebsd-questions Sat Sep 23 15:46: 2 2000 Delivered-To: freebsd-questions@freebsd.org Received: from franklin01.u.washington.edu (franklin01.u.washington.edu [140.142.13.104]) by hub.freebsd.org (Postfix) with ESMTP id 56CA037B422 for ; Sat, 23 Sep 2000 15:45:57 -0700 (PDT) Received: from louisv (D-128-208-43-56.dhcp.washington.edu [128.208.43.56]) by franklin01.u.washington.edu (8.9.3+UW00.05/8.9.3+UW99.09) with SMTP id PAA24552 for ; Sat, 23 Sep 2000 15:45:56 -0700 Message-ID: <000a01c025b0$92716270$382bd080@louisv> From: "Louis Valentine" To: Subject: Routing UDP Packets...? Date: Sat, 23 Sep 2000 15:49:46 -0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01C02575.E5E64A50" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C02575.E5E64A50 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hey, I'm trying to setup my FreeBSD box with 4.1-RELEASE to act as a = UDP router. I only have one interface, my ethernet card, and what I = want to do is listen for UDP packets on a port, say 20000, and redirect = these packets to some destination, say my.host.com:20000. So far I have: 1. Recompiled the kernel with the IPFIREWALL and IPDIVERT options. 2. Set firewall_enable=3DYES, firewall_type=3DOPEN, = gateway_enable=3DYES, natd_enable=3DYES, natd_interface=3Dde0 in = rc.conf. 3. Added natd to /etc/services. 3. Started natd with "-redirect_port udp my.host.com:20000 20000 -n = de0". I have then tried sending a UDP packet to the machine at that port, = but it doesn't seem to be listening properly. I tried running natd with = the -verbose option to debug it, but it never shows any output. Please = help! -Louis Valentine ------=_NextPart_000_0007_01C02575.E5E64A50 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
  Hey, I'm trying to setup my = FreeBSD box with=20 4.1-RELEASE to act as a UDP router.  I only have one interface, my = ethernet=20 card, and what I want to do is listen for UDP packets on a port, say = 20000, and=20 redirect these packets to some destination, say my.host.com:20000. So = far I=20 have:
 
1. Recompiled the kernel with the = IPFIREWALL and=20 IPDIVERT options.
2. Set firewall_enable=3DYES, = firewall_type=3DOPEN,=20 gateway_enable=3DYES, natd_enable=3DYES, natd_interface=3Dde0 in = rc.conf.
3. Added natd to = /etc/services.
3. Started natd with "-redirect_port = udp=20 my.host.com:20000 20000 -n de0".
 
  I have then tried sending a UDP = packet to=20 the machine at that port, but it doesn't seem to be listening properly. = I tried=20 running natd with the -verbose option to debug it, but it never shows = any=20 output. Please help!
 
-Louis = Valentine
------=_NextPart_000_0007_01C02575.E5E64A50-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message