DNAT doesn't work???
Fri, 13 Jul 2001 12:35:56 +1000
On Thu, Jul 12, 2001 at 10:25:35PM -0400, Mon Oncle wrote:
> when I issue "netstat -an" I doesn't see my system listening on port 81 and I can't query port 81.
>From what I understand, DNAT doesn't listen on any port. You won't see
it with netstat -an. Netfilter rewrites the packets coming in so that
the destination address becomes the machine on your internal LAN. It
also seems that you can't rewrite a packet coming in on the same
interface as you want it to go out on.
If you tried to test it on your internal LAN then test it from a host
on a different network and it should work.