Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2002 12:56:02 +0100
From:      "links" <asplab@fp2k2.com>
To:        freebsd-net@freebsd.org
Subject:   natd doesn't redirect from external ip to internal ip!
Message-ID:  <a2jk0t$6vn$1@news1.xs4all.nl>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a2jk0t$6vn$1>