From owner-freebsd-net Tue Jan 22 3:56:35 2002 Delivered-To: freebsd-net@freebsd.org Received: from smtpzilla3.xs4all.nl (smtpzilla3.xs4all.nl [194.109.127.139]) by hub.freebsd.org (Postfix) with ESMTP id 28CCF37B41A for ; Tue, 22 Jan 2002 03:56:28 -0800 (PST) Received: from list1.xs4all.nl (list1.xs4all.nl [194.109.6.52]) by smtpzilla3.xs4all.nl (8.12.0/8.12.0) with ESMTP id g0MBuQ4a045363 for ; Tue, 22 Jan 2002 12:56:27 +0100 (CET) Received: (from root@localhost) by list1.xs4all.nl (8.9.3/8.9.3) id MAA25218; Tue, 22 Jan 2002 12:56:25 +0100 (CET) From: "links" To: freebsd-net@freebsd.org X-Via: imploder /usr/local/lib/mail/news2mail/news2mail at list1.xs4all.nl Subject: natd doesn't redirect from external ip to internal ip! Date: Tue, 22 Jan 2002 12:56:02 +0100 Organization: XS4ALL Internet BV Message-ID: Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org i have natd set to -deny_packet yes so FreeBSD is acting in "Stealth" mode in all ways. the problem is that i have apache running on the same machine which is logically Stealth from outside ( via -deny_packet yes ) so i have to use -redirect_port tcp internal.ip:80 80 to redirect all requests to it , but it doesn't work!!! is the above syntax correct for redirecting to port 80 on the same machine? do i miss somethnig here? -redirect_port tcp another.machine.inside.LAN:80 80 is working great! only if i want to redirect the port to the same machine , it seems that it doesn't understand ;) i was wondering if i have the same problem with other daemons too , imagine i have port 25 also open and i want to redirect to it , what is the best soloution while natd -d is on? please refresh my mind! thanx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message