From owner-freebsd-stable Tue Jul 20 11:11: 6 1999 Delivered-To: freebsd-stable@freebsd.org Received: from postman.bahianet.com.br (postman.bahianet.com.br [200.223.88.38]) by hub.freebsd.org (Postfix) with ESMTP id 7FCA115391; Tue, 20 Jul 1999 11:10:40 -0700 (PDT) (envelope-from jcarlos@bahianet.com.br) Received: from nop (tec.bahianet.com.br [200.223.88.98]) by postman.bahianet.com.br (8.9.3/8.9.3) with SMTP id PAA01466; Tue, 20 Jul 1999 15:06:41 -0300 (EST) Message-ID: <003701bed2db$1a501800$0400a8c0@bahianet.com.br> From: "Joao Carlos" To: Cc: Subject: NATD Date: Tue, 20 Jul 1999 15:10:01 -0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-Mimeole: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Aomething strange is happening on my natd. I'm running FreeBSD 3.2-STABLE and running natd and firewall the firewall is open to anyone (allow ip from any to any) My natd.cf is as follows: deny_incoming no use_sockets yes same_ports yes verbose no port natd unregistered_only no redirect_address 192.168.0.3 200.223.88.100 redirect_address 192.168.0.4 200.223.88.126 /etc/services: natd 8668/divert # Network Address Translation FIREWALL: 00300 65343652 853957285 divert 8668 ip from any to any via ed1 I discovered that To use Rediredct_address, the client has to have an alias in the interface, and point the gateway for the outside ip address of the natd machine. But it is not working fine. when i start the natd using /sbin/natd -n ed1 -f /etc/natd.cf the machines which are in the redirect_address parameter does not access the internet. Funny... they ping other machines outside the net, but tcp and udp connections does not work. second, why do i have to pioint my gateway for the outside ip address?? And, why when machines in the redirect_address goes outside (only 1 machine do that, the 200.223.88.126 one), it does not arrive in the other side of the connection with it's ip address? I mean... i telnet from 192.168.0.4 (200.223.88.126 in natd.cf) to a machine outside my local net, and the output of WHO command shows me that i'm connected from the outside ip address of the firewall, what happens normally when i don't have redirect_address does this parameter does not work fine?? can anyone help me?? thanks in advance To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message